pub struct CreateAccountError(/* private fields */);Implementations§
Source§impl CreateAccountError
impl CreateAccountError
pub fn kind(self) -> CreateAccountErrorKind
pub fn code(self) -> NonZeroU32
Trait Implementations§
Source§impl Clone for CreateAccountError
impl Clone for CreateAccountError
Source§fn clone(&self) -> CreateAccountError
fn clone(&self) -> CreateAccountError
Returns a duplicate 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 CreateAccountError
impl Debug for CreateAccountError
Source§impl Display for CreateAccountError
impl Display for CreateAccountError
Source§impl Error for CreateAccountError
impl Error for CreateAccountError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 From<CreateAccountErrorKind> for CreateAccountError
impl From<CreateAccountErrorKind> for CreateAccountError
Source§fn from(value: CreateAccountErrorKind) -> Self
fn from(value: CreateAccountErrorKind) -> Self
Constructs a CreateAccountError out of the provided CreateAccountErrorKind.
§Panics
Panics on the hidden CreateAccountErrorKind::UnstableUncategorized variant.
impl Copy for CreateAccountError
Auto Trait Implementations§
impl Freeze for CreateAccountError
impl RefUnwindSafe for CreateAccountError
impl Send for CreateAccountError
impl Sync for CreateAccountError
impl Unpin for CreateAccountError
impl UnsafeUnpin for CreateAccountError
impl UnwindSafe for CreateAccountError
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