pub struct VarU16SizeError {
pub value: u16,
}
Expand description
Returned when a VarU16
cannot fit the specified value.
Fields§
§value: u16
Trait Implementations§
Source§impl Clone for VarU16SizeError
impl Clone for VarU16SizeError
Source§fn clone(&self) -> VarU16SizeError
fn clone(&self) -> VarU16SizeError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for VarU16SizeError
impl Debug for VarU16SizeError
Source§impl Display for VarU16SizeError
impl Display for VarU16SizeError
Source§impl Error for VarU16SizeError
impl Error for VarU16SizeError
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
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
Source§impl PartialEq for VarU16SizeError
impl PartialEq for VarU16SizeError
impl Eq for VarU16SizeError
impl StructuralPartialEq for VarU16SizeError
Auto Trait Implementations§
impl Freeze for VarU16SizeError
impl RefUnwindSafe for VarU16SizeError
impl Send for VarU16SizeError
impl Sync for VarU16SizeError
impl Unpin for VarU16SizeError
impl UnwindSafe for VarU16SizeError
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