Struct mtree::ParserError [−][src]
pub struct ParserError(pub String);
An error occurred during parsing a record.
This pretty must just gives an error report at the moment.
Trait Implementations
impl Debug for ParserError
[src]
impl Debug for ParserError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for ParserError
[src]
impl Clone for ParserError
fn clone(&self) -> ParserError
[src]
fn clone(&self) -> ParserError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Eq for ParserError
[src]
impl Eq for ParserError
impl PartialEq for ParserError
[src]
impl PartialEq for ParserError
fn eq(&self, other: &ParserError) -> bool
[src]
fn eq(&self, other: &ParserError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ParserError) -> bool
[src]
fn ne(&self, other: &ParserError) -> bool
This method tests for !=
.
impl Ord for ParserError
[src]
impl Ord for ParserError
fn cmp(&self, other: &ParserError) -> Ordering
[src]
fn cmp(&self, other: &ParserError) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl PartialOrd for ParserError
[src]
impl PartialOrd for ParserError
fn partial_cmp(&self, other: &ParserError) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &ParserError) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &ParserError) -> bool
[src]
fn lt(&self, other: &ParserError) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &ParserError) -> bool
[src]
fn le(&self, other: &ParserError) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &ParserError) -> bool
[src]
fn gt(&self, other: &ParserError) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &ParserError) -> bool
[src]
fn ge(&self, other: &ParserError) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Hash for ParserError
[src]
impl Hash for ParserError
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Fail for ParserError
[src]
impl Fail for ParserError
fn cause(&self) -> Option<&Fail>
[src]
fn cause(&self) -> Option<&Fail>
Returns a reference to the underlying cause of this failure, if it is an error that wraps other errors. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the Backtrace
carried by this failure, if it carries one. Read more
fn context<D>(self, context: D) -> Context<D> where
D: Display + Send + Sync + 'static,
[src]
fn context<D>(self, context: D) -> Context<D> where
D: Display + Send + Sync + 'static,
Provides context for this failure. Read more
fn compat(self) -> Compat<Self>
[src]
fn compat(self) -> Compat<Self>
Wraps this failure in a compatibility wrapper that implements std::error::Error
. Read more
fn causes(&self) -> Causes
[src]
fn causes(&self) -> Causes
Returns a iterator over the causes of this Fail
with itself as the first item and the root_cause
as the final item. Read more
fn root_cause(&self) -> &(Fail + 'static)
[src]
fn root_cause(&self) -> &(Fail + 'static)
Returns the "root cause" of this Fail
- the last value in the cause chain which does not return an underlying cause
. Read more
impl Display for ParserError
[src]
impl Display for ParserError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<String> for ParserError
[src]
impl From<String> for ParserError
fn from(s: String) -> ParserError
[src]
fn from(s: String) -> ParserError
Performs the conversion.
impl From<ParserError> for Error
[src]
impl From<ParserError> for Error
fn from(from: ParserError) -> Error
[src]
fn from(from: ParserError) -> Error
Performs the conversion.
Auto Trait Implementations
impl Send for ParserError
impl Send for ParserError
impl Sync for ParserError
impl Sync for ParserError