pub struct BadSymbol(_);
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 FromStrError
impl From<BadSymbol> for FromStrError
source§fn from(err: BadSymbol) -> FromStrError
fn from(err: BadSymbol) -> FromStrError
Converts to this type from the input type.
source§impl PartialEq<BadSymbol> for BadSymbol
impl PartialEq<BadSymbol> for BadSymbol
impl Copy for BadSymbol
impl Eq for BadSymbol
impl StructuralEq for BadSymbol
impl StructuralPartialEq for BadSymbol
Auto Trait Implementations§
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<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) -> Targetwhere
Self::Error: Into<Infallible>,
fn octets_into(self) -> Targetwhere Self::Error: Into<Infallible>,
Performs an infallible conversion.