Enum marc::errors::ErrorKind
[−]
pub enum ErrorKind {
Msg(String),
UnexpectedByteInDecNum(u8),
UnexpectedEofInDecNum,
UnexpectedEof,
UnexpectedEofInDirectory,
NoRecordTerminator,
FieldTooLarge(Tag),
RecordTooLarge(usize),
RecordTooShort(usize),
UnexpectedSubfieldEnd,
}The kind of an error.
Variants
Msg(String)A convenient variant for String.
UnexpectedByteInDecNum(u8)UnexpectedEofInDecNumUnexpectedEofUnexpectedEofInDirectoryNoRecordTerminatorFieldTooLarge(Tag)RecordTooLarge(usize)RecordTooShort(usize)UnexpectedSubfieldEndMethods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.