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
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§
Source§impl Error for McapError
impl Error for McapError
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 McapError
impl !RefUnwindSafe for McapError
impl Send for McapError
impl Sync for McapError
impl Unpin for McapError
impl !UnwindSafe for McapError
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