pub enum IoError {
}Expand description
IO-specific error type for SpatialRust.
Variants§
Io(String)
Underlying IO failure.
PcdParse(String)
PCD header or payload parsing failed.
PcdFormat(String)
Unsupported or invalid PCD encoding.
PlyParse(String)
PLY header or payload parsing failed.
PlyFormat(String)
Unsupported or invalid PLY encoding.
LasParse(String)
LAS header or payload parsing failed.
LasFormat(String)
Unsupported or invalid LAS encoding.
LazFormat(String)
LAZ compression support is not enabled.
E57Parse(String)
E57 header or payload parsing failed.
E57Format(String)
Unsupported or invalid E57 encoding.
CopcParse(String)
COPC header or payload parsing failed.
CopcFormat(String)
Unsupported or invalid COPC encoding.
Core(SpatialError)
Core data model error propagated from spatialrust-core.
Trait Implementations§
Source§impl Error for IoError
impl Error for IoError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<SpatialError> for IoError
impl From<SpatialError> for IoError
Source§fn from(source: SpatialError) -> IoError
fn from(source: SpatialError) -> IoError
Converts to this type from the input type.
impl StructuralPartialEq for IoError
Auto Trait Implementations§
impl Freeze for IoError
impl RefUnwindSafe for IoError
impl Send for IoError
impl Sync for IoError
impl Unpin for IoError
impl UnsafeUnpin for IoError
impl UnwindSafe for IoError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more