Enum bytesio::bits_errors::BitErrorValue
source · pub enum BitErrorValue {
BytesReadError(BytesReadError),
BytesWriteError(BytesWriteError),
TooBig,
CannotWrite8Bit,
CannotReadByte,
}
Variants§
BytesReadError(BytesReadError)
BytesWriteError(BytesWriteError)
TooBig
CannotWrite8Bit
CannotReadByte
Trait Implementations§
source§impl Debug for BitErrorValue
impl Debug for BitErrorValue
source§impl Display for BitErrorValue
impl Display for BitErrorValue
source§impl Fail for BitErrorValue
impl Fail for BitErrorValue
source§fn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read moresource§impl From<BitErrorValue> for BitError
impl From<BitErrorValue> for BitError
source§fn from(val: BitErrorValue) -> Self
fn from(val: BitErrorValue) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for BitErrorValue
impl Send for BitErrorValue
impl Sync for BitErrorValue
impl Unpin for BitErrorValue
impl !UnwindSafe for BitErrorValue
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