Enum combine::stream::easy::Info [−][src]
Expand description
Enum holding error information. Variants are defined for Stream::Token
and Stream::Range
as
well as string variants holding easy descriptions.
As there is implementations of From
for String
and &'static str
the
constructor need not be used directly as calling msg.into()
should turn a message into the
correct Info
variant.
Variants
Owned(String)
Static(&'static str)
Implementations
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl<T, R> RefUnwindSafe for Info<T, R> where
R: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, R> UnwindSafe for Info<T, R> where
R: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more