pub struct LabelSizeError {
pub value: usize,
pub size: usize,
}Expand description
A label written through labelN does not fit in the given number of bits.
Fields§
§value: usize§size: usizeTrait Implementations§
Source§impl Clone for LabelSizeError
impl Clone for LabelSizeError
Source§fn clone(&self) -> LabelSizeError
fn clone(&self) -> LabelSizeError
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 LabelSizeError
impl Debug for LabelSizeError
Source§impl Display for LabelSizeError
impl Display for LabelSizeError
Source§impl Error for LabelSizeError
impl Error for LabelSizeError
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()
Auto Trait Implementations§
impl Freeze for LabelSizeError
impl RefUnwindSafe for LabelSizeError
impl Send for LabelSizeError
impl Sync for LabelSizeError
impl Unpin for LabelSizeError
impl UnwindSafe for LabelSizeError
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