Enum pem_iterator::ParseError
[−]
[src]
pub enum ParseError { MissingExpected(char), Mismatch { location: usize, expected: char, found: char, }, LabelError(LabelError), InvalidCharacter(char), }
Variants
MissingExpected(char)
Mismatch
Fields of Mismatch
location: usize | |
expected: char | |
found: char |
LabelError(LabelError)
InvalidCharacter(char)
Trait Implementations
impl Debug for ParseError
[src]
impl PartialEq for ParseError
[src]
fn eq(&self, __arg_0: &ParseError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ParseError) -> bool
[src]
This method tests for !=
.
impl From<ExpectedError> for ParseError
[src]
impl From<LabelError> for ParseError
[src]
fn from(e: LabelError) -> Self
[src]
Performs the conversion.
impl From<PreEncapsulationBoundaryError<Void>> for ParseError
[src]
fn from(e: PreEncapsulationBoundaryError<Void>) -> Self
[src]
Performs the conversion.