pub struct KeysAndAddressError(pub &'static str);Expand description
Struct-based error types for backward compatibility or specific contexts.
Tuple Fields§
§0: &'static strTrait Implementations§
Source§impl Debug for KeysAndAddressError
impl Debug for KeysAndAddressError
Source§impl Display for KeysAndAddressError
impl Display for KeysAndAddressError
Source§impl Error for KeysAndAddressError
impl Error for KeysAndAddressError
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<KeysAndAddressError> for VanityError
impl From<KeysAndAddressError> for VanityError
Source§fn from(keys_and_address_err: KeysAndAddressError) -> Self
fn from(keys_and_address_err: KeysAndAddressError) -> Self
Converts to this type from the input type.
Source§impl From<KeysAndAddressError> for VanityGeneratorError
impl From<KeysAndAddressError> for VanityGeneratorError
Source§fn from(keys_and_address_err: KeysAndAddressError) -> Self
fn from(keys_and_address_err: KeysAndAddressError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for KeysAndAddressError
impl RefUnwindSafe for KeysAndAddressError
impl Send for KeysAndAddressError
impl Sync for KeysAndAddressError
impl Unpin for KeysAndAddressError
impl UnsafeUnpin for KeysAndAddressError
impl UnwindSafe for KeysAndAddressError
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