pub enum OnionV3AddressError {
AddressDecoding(String),
InvalidPrivateKey(String),
}
Expand description
OnionV3 Address Errors
Variants§
AddressDecoding(String)
Error decoding an address from a string
InvalidPrivateKey(String)
Error with given private key
Trait Implementations§
source§impl Clone for OnionV3Error
impl Clone for OnionV3Error
source§fn clone(&self) -> OnionV3Error
fn clone(&self) -> OnionV3Error
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 OnionV3Error
impl Debug for OnionV3Error
source§impl<'de> Deserialize<'de> for OnionV3Error
impl<'de> Deserialize<'de> for OnionV3Error
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for OnionV3Error
impl Display for OnionV3Error
source§impl Error for OnionV3Error
impl Error for OnionV3Error
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 OnionV3Error
impl PartialEq for OnionV3Error
source§fn eq(&self, other: &OnionV3Error) -> bool
fn eq(&self, other: &OnionV3Error) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for OnionV3Error
impl Serialize for OnionV3Error
impl Eq for OnionV3Error
impl StructuralPartialEq for OnionV3Error
Auto Trait Implementations§
impl Freeze for OnionV3Error
impl RefUnwindSafe for OnionV3Error
impl Send for OnionV3Error
impl Sync for OnionV3Error
impl Unpin for OnionV3Error
impl UnwindSafe for OnionV3Error
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.