Enum parse_zoneinfo::table::Error
[−]
[src]
pub enum Error<'line> {
SurpriseContinuationLine,
UnknownRuleset(&'line str),
DuplicateLink(&'line str),
DuplicateZone,
}Something that can go wrong while constructing a Table.
Variants
SurpriseContinuationLineA continuation line was passed in, but the previous line wasn’t a zone definition line.
UnknownRuleset(&'line str)A zone definition referred to a ruleset that hadn’t been defined.
DuplicateLink(&'line str)A link line was passed in, but there’s already a link with that name.
DuplicateZoneA zone line was passed in, but there’s already a zone with that name.
Trait Implementations
impl<'line> PartialEq for Error<'line>[src]
fn eq(&self, __arg_0: &Error<'line>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Error<'line>) -> bool
This method tests for !=.
impl<'line> Debug for Error<'line>[src]
impl<'line> Copy for Error<'line>[src]
impl<'line> Clone for Error<'line>[src]
fn clone(&self) -> Error<'line>
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<'line> Display for Error<'line>[src]
impl<'line> ErrorTrait for Error<'line>[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&ErrorTrait>
The lower-level cause of this error, if any. Read more