Enum doc_9_testing_12345::GBPError [−][src]
pub enum GBPError { ParseError(ParseMoneyError), OtherError, }
Variants
ParseError(ParseMoneyError)
OtherError
Trait Implementations
impl Debug for GBPError
[src]
impl Debug for GBPError
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 PartialEq for GBPError
[src]
impl PartialEq for GBPError
fn eq(&self, other: &GBPError) -> bool
[src]
fn eq(&self, other: &GBPError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &GBPError) -> bool
[src]
fn ne(&self, other: &GBPError) -> bool
This method tests for !=
.
impl From<ParseMoneyError> for GBPError
[src]
impl From<ParseMoneyError> for GBPError
fn from(p: ParseMoneyError) -> Self
[src]
fn from(p: ParseMoneyError) -> Self
Performs the conversion.