Enum pear::Expected [−][src]
pub enum Expected<T, I, S> {
Token(Option<T>, Option<T>),
Slice(Option<I>, Option<S>),
Custom(Cow<'static, str>),
EOF(Option<T>),
}
Variants
EOF(Option<T>)
Tuple Fields of EOF
0: Option<T>
Implementations
Trait Implementations
Auto Trait Implementations
impl<T, I, S> RefUnwindSafe for Expected<T, I, S> where
I: RefUnwindSafe,
S: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, I, S> UnwindSafe for Expected<T, I, S> where
I: UnwindSafe,
S: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more