pub enum ByteError {
ValueIncorrect,
UnitIncorrect,
ParseError,
}Expand description
Different error types for Byte.
Variants
ValueIncorrect
The value used for creating a Byte object is incorrect. (from_unit, from_string)
UnitIncorrect
The unit used for creating a Byte object is incorrect. (from_string)
ParseError
The string used for creating a Byte object is incorrect. (from_string)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ByteError
impl Send for ByteError
impl Sync for ByteError
impl Unpin for ByteError
impl UnwindSafe for ByteError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more