pub enum McapError {
Show 21 variants
BadMagic,
BadFooter,
BadAttachmentCrc {
saved: u32,
calculated: u32,
},
BadChunkCrc {
saved: u32,
calculated: u32,
},
BadDataCrc {
saved: u32,
calculated: u32,
},
BadSummaryCrc {
saved: u32,
calculated: u32,
},
BadIndex,
BadAttachmentLength {
header: u64,
available: u64,
},
BadChunkLength {
header: u64,
available: u64,
},
BadSchemaLength {
header: u32,
available: u32,
},
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
BadAttachmentLength
BadChunkLength
BadSchemaLength
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)>
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()