pub enum TemporalError {
TruncatedHeader,
UnsupportedVersion(u32),
InvalidStride(u32),
Io(Error),
Copc(CopcError),
}Expand description
Errors that can occur when reading the temporal index.
Variants§
TruncatedHeader
The temporal EVLR header is shorter than 32 bytes.
UnsupportedVersion(u32)
The temporal index version is not supported by this reader.
InvalidStride(u32)
The stride value in the header is invalid.
Io(Error)
I/O error from the underlying byte source.
Copc(CopcError)
Error propagated from the COPC streaming reader.
Trait Implementations§
Source§impl Debug for TemporalError
impl Debug for TemporalError
Source§impl Display for TemporalError
impl Display for TemporalError
Source§impl Error for TemporalError
impl Error for TemporalError
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<CopcError> for TemporalError
impl From<CopcError> for TemporalError
Auto Trait Implementations§
impl Freeze for TemporalError
impl !RefUnwindSafe for TemporalError
impl Send for TemporalError
impl Sync for TemporalError
impl Unpin for TemporalError
impl UnsafeUnpin for TemporalError
impl !UnwindSafe for TemporalError
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