Struct unc_account_id::ParseAccountError
source · pub struct ParseAccountError { /* private fields */ }
Expand description
An error which can be returned when parsing a Utility Account ID.
Implementations§
source§impl ParseAccountError
impl ParseAccountError
sourcepub fn kind(&self) -> &ParseErrorKind
pub fn kind(&self) -> &ParseErrorKind
Returns the specific cause why parsing the Account ID failed.
Trait Implementations§
source§impl Clone for ParseAccountError
impl Clone for ParseAccountError
source§fn clone(&self) -> ParseAccountError
fn clone(&self) -> ParseAccountError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ParseAccountError
impl Debug for ParseAccountError
source§impl Display for ParseAccountError
impl Display for ParseAccountError
source§impl Error for ParseAccountError
impl Error for ParseAccountError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl PartialEq for ParseAccountError
impl PartialEq for ParseAccountError
source§fn eq(&self, other: &ParseAccountError) -> bool
fn eq(&self, other: &ParseAccountError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ParseAccountError
impl StructuralPartialEq for ParseAccountError
Auto Trait Implementations§
impl Freeze for ParseAccountError
impl RefUnwindSafe for ParseAccountError
impl Send for ParseAccountError
impl Sync for ParseAccountError
impl Unpin for ParseAccountError
impl UnwindSafe for ParseAccountError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more