pub enum UberByteError {
ValueOverflow,
ValueUnderflow,
}
Expand description
Defines the possible errors that can happen inside the UberByte crate
Variants§
ValueOverflow
The provided data overflows a single byte
ValueUnderflow
The provided data underflows a single byte
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UberByteError
impl RefUnwindSafe for UberByteError
impl Send for UberByteError
impl Sync for UberByteError
impl Unpin for UberByteError
impl UnwindSafe for UberByteError
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