pub enum LabelDecodeError {
WrongLength,
NonAscii,
}Expand description
Decoding failures from KappaLabel::from_bytes.
Variants§
Trait Implementations§
Source§impl Clone for LabelDecodeError
impl Clone for LabelDecodeError
Source§fn clone(&self) -> LabelDecodeError
fn clone(&self) -> LabelDecodeError
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 LabelDecodeError
impl Debug for LabelDecodeError
Source§impl PartialEq for LabelDecodeError
impl PartialEq for LabelDecodeError
impl Copy for LabelDecodeError
impl Eq for LabelDecodeError
impl StructuralPartialEq for LabelDecodeError
Auto Trait Implementations§
impl Freeze for LabelDecodeError
impl RefUnwindSafe for LabelDecodeError
impl Send for LabelDecodeError
impl Sync for LabelDecodeError
impl Unpin for LabelDecodeError
impl UnsafeUnpin for LabelDecodeError
impl UnwindSafe for LabelDecodeError
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