pub struct DifferentVariant;
This is supported on crate feature
cookies
only.Expand description
An error type indicating that a TryFrom
call failed because the
original value was of a different variant.
Trait Implementations
Performs the conversion.
type Error = DifferentVariant
type Error = DifferentVariant
The type returned in the event of a conversion error.
pub fn try_from(
err: Error
) -> Result<DifferentVariant, <DifferentVariant as TryFrom<Error>>::Error>
pub fn try_from(
err: Error
) -> Result<DifferentVariant, <DifferentVariant as TryFrom<Error>>::Error>
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for DifferentVariant
impl Send for DifferentVariant
impl Sync for DifferentVariant
impl Unpin for DifferentVariant
impl UnwindSafe for DifferentVariant
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more