pub enum CopcError {
InvalidFormat(String),
UnsupportedVersion(u8, u8),
Io(Error),
}Expand description
Errors that can occur when parsing COPC / LAS files.
Variants§
InvalidFormat(String)
The binary data does not conform to the expected format.
UnsupportedVersion(u8, u8)
Unsupported LAS version encountered.
Io(Error)
An I/O error occurred.
Trait Implementations§
Source§impl Error for CopcError
impl Error for CopcError
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()
Auto Trait Implementations§
impl Freeze for CopcError
impl !RefUnwindSafe for CopcError
impl Send for CopcError
impl Sync for CopcError
impl Unpin for CopcError
impl UnsafeUnpin for CopcError
impl !UnwindSafe for CopcError
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