#[non_exhaustive]
pub enum TryFromParsed {
InsufficientInformation,
ComponentRange(ComponentRange),
}
cookies
only.Expand description
An error that occurred when converting a Parsed
to another type.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
InsufficientInformation
The Parsed
did not include enough information to construct the
type.
ComponentRange(ComponentRange)
Some component contained an invalid value for the type.
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
type Error = DifferentVariant
type Error = DifferentVariant
The type returned in the event of a conversion error.
pub fn try_from(
err: Error
) -> Result<TryFromParsed, <TryFromParsed as TryFrom<Error>>::Error>
pub fn try_from(
err: Error
) -> Result<TryFromParsed, <TryFromParsed as TryFrom<Error>>::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.
type Error = DifferentVariant
type Error = DifferentVariant
The type returned in the event of a conversion error.
pub fn try_from(
err: TryFromParsed
) -> Result<ComponentRange, <ComponentRange as TryFrom<TryFromParsed>>::Error>
pub fn try_from(
err: TryFromParsed
) -> Result<ComponentRange, <ComponentRange as TryFrom<TryFromParsed>>::Error>
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for TryFromParsed
impl Send for TryFromParsed
impl Sync for TryFromParsed
impl Unpin for TryFromParsed
impl UnwindSafe for TryFromParsed
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