pub enum BticError {
BoundOrdering {
lo: i64,
hi: i64,
},
ReservedBits,
GranularityRange(u8),
SentinelMetadata,
ParseError(String),
InvalidLength(usize),
}Expand description
Errors produced by BTIC construction, encoding, decoding, and parsing.
Variants§
BoundOrdering
ReservedBits
GranularityRange(u8)
SentinelMetadata
ParseError(String)
InvalidLength(usize)
Trait Implementations§
impl Eq for BticError
Source§impl Error for BticError
impl Error for BticError
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
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
impl StructuralPartialEq for BticError
Auto Trait Implementations§
impl Freeze for BticError
impl RefUnwindSafe for BticError
impl Send for BticError
impl Sync for BticError
impl Unpin for BticError
impl UnsafeUnpin for BticError
impl UnwindSafe for BticError
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