pub struct BadSymbol(/* private fields */);
Expand description
A symbol with an unexpected value was encountered.
Implementations§
Trait Implementations§
source§impl Error for BadSymbol
impl Error for BadSymbol
1.30.0 · source§fn 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 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<BadSymbol> for EntryError
Available on crate features bytes
and zonefile
only.
impl From<BadSymbol> for EntryError
Available on crate features
bytes
and zonefile
only.source§impl From<BadSymbol> for PresentationError
impl From<BadSymbol> for PresentationError
source§impl PartialEq for BadSymbol
impl PartialEq for BadSymbol
impl Copy for BadSymbol
impl Eq for BadSymbol
impl StructuralPartialEq for BadSymbol
Auto Trait Implementations§
impl Freeze for BadSymbol
impl RefUnwindSafe for BadSymbol
impl Send for BadSymbol
impl Sync for BadSymbol
impl Unpin for BadSymbol
impl UnwindSafe for BadSymbol
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
impl<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
type Error = <Target as OctetsFrom<Source>>::Error
source§fn try_octets_into(
self
) -> Result<Target, <Source as OctetsInto<Target>>::Error>
fn try_octets_into( self ) -> Result<Target, <Source as OctetsInto<Target>>::Error>
Performs the conversion.
source§fn octets_into(self) -> Target
fn octets_into(self) -> Target
Performs an infallible conversion.