pub enum McapError {
Show 18 variants
BadMagic,
BadFooter,
BadAttachmentCrc {
saved: u32,
calculated: u32,
},
BadChunkCrc {
saved: u32,
calculated: u32,
},
BadDataCrc {
saved: u32,
calculated: u32,
},
BadSummaryCrc {
saved: u32,
calculated: u32,
},
BadIndex,
ConflictingChannels(String),
ConflictingSchemas(String),
Parse(Error),
Io(Error),
InvalidSchemaId,
UnexpectedEof,
UnexpectedEoc,
UnknownChannel(u32, u16),
UnknownSchema(String, u16),
UnexpectedChunkRecord(u8),
UnsupportedCompression(String),
}Variants
BadMagic
BadFooter
BadAttachmentCrc
BadChunkCrc
BadDataCrc
BadSummaryCrc
BadIndex
ConflictingChannels(String)
ConflictingSchemas(String)
Parse(Error)
Io(Error)
InvalidSchemaId
UnexpectedEof
UnexpectedEoc
UnknownChannel(u32, u16)
UnknownSchema(String, u16)
UnexpectedChunkRecord(u8)
UnsupportedCompression(String)
Trait Implementations
sourceimpl Error for McapError
impl Error for McapError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations
impl !RefUnwindSafe for McapError
impl Send for McapError
impl Sync for McapError
impl Unpin for McapError
impl !UnwindSafe for McapError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more