Enum combine::primitives::Info
[−]
[src]
pub enum Info<T, R> {
Token(T),
Range(R),
Owned(String),
Borrowed(&'static str),
}Enum holding error information
As there is implementations of From for T: Positioner, 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
Token(T)Range(R)Owned(String)Borrowed(&'static str)Trait Implementations
impl<T: Debug, R: Debug> Debug for Info<T, R>[src]
impl<T: Clone, R: Clone> Clone for Info<T, R>[src]
fn clone(&self) -> Info<T, R>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl<T: PartialEq, R: PartialEq> PartialEq for Info<T, R>[src]
fn eq(&self, other: &Info<T, R>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.