#[non_exhaustive]
pub enum Parse {
TryFromParsed(TryFromParsed),
ParseFromDescription(ParseFromDescription),
UnexpectedTrailingCharacters,
}
This is supported on crate feature
cookies
only.Expand description
An error that occurred at some stage of parsing.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
TryFromParsed(TryFromParsed)
ParseFromDescription(ParseFromDescription)
UnexpectedTrailingCharacters
The input should have ended, but there were characters remaining.
Trait Implementations
Performs the conversion.
Performs the conversion.
type Error = DifferentVariant
type Error = DifferentVariant
The type returned in the event of a conversion error.
pub fn try_from(
err: Parse
) -> Result<ParseFromDescription, <ParseFromDescription as TryFrom<Parse>>::Error>
pub fn try_from(
err: Parse
) -> Result<ParseFromDescription, <ParseFromDescription as TryFrom<Parse>>::Error>
Performs the conversion.
type Error = DifferentVariant
type Error = DifferentVariant
The type returned in the event of a conversion error.
pub fn try_from(
err: Parse
) -> Result<TryFromParsed, <TryFromParsed as TryFrom<Parse>>::Error>
pub fn try_from(
err: Parse
) -> Result<TryFromParsed, <TryFromParsed as TryFrom<Parse>>::Error>
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Parse
impl UnwindSafe for Parse
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