pub enum LabelError {
Length(usize),
Empty,
}
Variants§
Trait Implementations§
Source§impl Debug for LabelError
impl Debug for LabelError
Source§impl Display for LabelError
impl Display for LabelError
Source§impl Error for LabelError
impl Error for LabelError
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<LabelError> for DecodeError
impl From<LabelError> for DecodeError
Source§fn from(source: LabelError) -> Self
fn from(source: LabelError) -> Self
Converts to this type from the input type.
Source§impl From<LabelError> for DomainNameError
impl From<LabelError> for DomainNameError
Source§fn from(source: LabelError) -> Self
fn from(source: LabelError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LabelError
impl PartialEq for LabelError
impl Eq for LabelError
impl StructuralPartialEq for LabelError
Auto Trait Implementations§
impl Freeze for LabelError
impl RefUnwindSafe for LabelError
impl Send for LabelError
impl Sync for LabelError
impl Unpin for LabelError
impl UnwindSafe for LabelError
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