pub struct LongLabelError;
Expand description
A label was longer than the allowed 63 octets.
Trait Implementations
sourceimpl Clone for LongLabelError
impl Clone for LongLabelError
sourcefn clone(&self) -> LongLabelError
fn clone(&self) -> LongLabelError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for LongLabelError
impl Debug for LongLabelError
sourceimpl Display for LongLabelError
impl Display for LongLabelError
sourceimpl Error for LongLabelError
impl Error for LongLabelError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl PartialEq<LongLabelError> for LongLabelError
impl PartialEq<LongLabelError> for LongLabelError
sourcefn eq(&self, other: &LongLabelError) -> bool
fn eq(&self, other: &LongLabelError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Copy for LongLabelError
impl Eq for LongLabelError
impl StructuralEq for LongLabelError
impl StructuralPartialEq for LongLabelError
Auto Trait Implementations
impl RefUnwindSafe for LongLabelError
impl Send for LongLabelError
impl Sync for LongLabelError
impl Unpin for LongLabelError
impl UnwindSafe for LongLabelError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
impl<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
sourcefn octets_into(self) -> Result<Target, ShortBuf>
fn octets_into(self) -> Result<Target, ShortBuf>
Performs the conversion.