pub enum WriteUintError {
Io(ErrorKind),
InvalidWidth(InvalidWidth),
}Expand description
Error from the variable-width write helper (write_be_uint).
Variants§
Io(ErrorKind)
The sink rejected a write.
InvalidWidth(InvalidWidth)
Requested width out of range for the operation.
Trait Implementations§
Source§impl Clone for WriteUintError
impl Clone for WriteUintError
Source§fn clone(&self) -> WriteUintError
fn clone(&self) -> WriteUintError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WriteUintError
Source§impl Debug for WriteUintError
impl Debug for WriteUintError
Source§impl Display for WriteUintError
impl Display for WriteUintError
impl Eq for WriteUintError
Source§impl Error for WriteUintError
impl Error for WriteUintError
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()
Source§impl From<ErrorKind> for WriteUintError
impl From<ErrorKind> for WriteUintError
Source§impl From<InvalidWidth> for WriteUintError
impl From<InvalidWidth> for WriteUintError
Source§fn from(e: InvalidWidth) -> Self
fn from(e: InvalidWidth) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WriteUintError
impl PartialEq for WriteUintError
impl StructuralPartialEq for WriteUintError
Auto Trait Implementations§
impl Freeze for WriteUintError
impl RefUnwindSafe for WriteUintError
impl Send for WriteUintError
impl Sync for WriteUintError
impl Unpin for WriteUintError
impl UnsafeUnpin for WriteUintError
impl UnwindSafe for WriteUintError
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