pub enum TransformError {
EmptyBufferError,
SymbolNotFound(u8),
MissingIndex,
MissingMapping(u8),
MissingCountMap(u8, usize),
}
Expand description
An enum representing possible errors during transformation
Variants§
EmptyBufferError
Buffer is empty
SymbolNotFound(u8)
Symbol is not found
MissingIndex
Missing index of Burrow Wheeler
MissingMapping(u8)
Missing symbol in the reverse mapping of Burrow Wheeler
MissingCountMap(u8, usize)
Missing count of symbol
Trait Implementations§
Source§impl Debug for TransformError
impl Debug for TransformError
Source§impl Display for TransformError
impl Display for TransformError
Source§impl Error for TransformError
impl Error for TransformError
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · 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
Auto Trait Implementations§
impl Freeze for TransformError
impl RefUnwindSafe for TransformError
impl Send for TransformError
impl Sync for TransformError
impl Unpin for TransformError
impl UnwindSafe for TransformError
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