Enum nss_certdata_parser::structured::StructureError
[−]
pub enum StructureError { MissingKey(&'static str), TypeError(TypeError), ValueError(ValueError), }
Variants
MissingKey(&'static str)
TypeError(TypeError)
ValueError(ValueError)
Trait Implementations
impl Debug for StructureError
[src]
impl Clone for StructureError
[src]
fn clone(&self) -> StructureError
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 PartialEq for StructureError
[src]
fn eq(&self, __arg_0: &StructureError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &StructureError) -> bool
This method tests for !=
.
impl Eq for StructureError
[src]
impl Display for StructureError
impl Error for StructureError
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<&'static str> for StructureError
fn from(key: &'static str) -> StructureError
Performs the conversion.
impl From<TypeError> for StructureError
fn from(err: TypeError) -> StructureError
Performs the conversion.
impl From<ValueError> for StructureError
fn from(err: ValueError) -> StructureError
Performs the conversion.