Enum brids::ParseCpfError
source · Expand description
An error which can be returned when parsing an CPF/ICN number.
Variants
Empty
InvalidCharacter(char, usize)
InvalidNumber
Trait Implementations
sourceimpl Debug for ParseCpfError
impl Debug for ParseCpfError
sourceimpl Display for ParseCpfError
impl Display for ParseCpfError
sourceimpl Fail for ParseCpfError
impl Fail for ParseCpfError
sourcefn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read moresourceimpl PartialEq<ParseCpfError> for ParseCpfError
impl PartialEq<ParseCpfError> for ParseCpfError
sourcefn eq(&self, other: &ParseCpfError) -> bool
fn eq(&self, other: &ParseCpfError) -> bool
impl Eq for ParseCpfError
impl StructuralEq for ParseCpfError
impl StructuralPartialEq for ParseCpfError
Auto Trait Implementations
impl RefUnwindSafe for ParseCpfError
impl Send for ParseCpfError
impl Sync for ParseCpfError
impl Unpin for ParseCpfError
impl UnwindSafe for ParseCpfError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more