Enum brids::ParseCnpjError
source · Expand description
An error which can be returned when parsing an CNPJ number.
Variants
Empty
InvalidCharacter(char, usize)
InvalidNumber
Trait Implementations
sourceimpl Debug for ParseCnpjError
impl Debug for ParseCnpjError
sourceimpl Display for ParseCnpjError
impl Display for ParseCnpjError
sourceimpl Fail for ParseCnpjError
impl Fail for ParseCnpjError
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<ParseCnpjError> for ParseCnpjError
impl PartialEq<ParseCnpjError> for ParseCnpjError
sourcefn eq(&self, other: &ParseCnpjError) -> bool
fn eq(&self, other: &ParseCnpjError) -> bool
impl Eq for ParseCnpjError
impl StructuralEq for ParseCnpjError
impl StructuralPartialEq for ParseCnpjError
Auto Trait Implementations
impl RefUnwindSafe for ParseCnpjError
impl Send for ParseCnpjError
impl Sync for ParseCnpjError
impl Unpin for ParseCnpjError
impl UnwindSafe for ParseCnpjError
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