pub enum NetworkError {
InvalidExtendedPrivateKeyPrefix(String),
InvalidExtendedPublicKeyPrefix(String),
InvalidNetwork(String),
}Variants§
InvalidExtendedPrivateKeyPrefix(String)
InvalidExtendedPublicKeyPrefix(String)
InvalidNetwork(String)
Trait Implementations§
Source§impl Debug for NetworkError
impl Debug for NetworkError
Source§impl Display for NetworkError
impl Display for NetworkError
Source§impl Fail for NetworkError
impl Fail for NetworkError
Source§fn 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
Source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace carried by this failure, if it
carries one. Read moreSource§impl From<NetworkError> for ExtendedPrivateKeyError
impl From<NetworkError> for ExtendedPrivateKeyError
Source§fn from(error: NetworkError) -> Self
fn from(error: NetworkError) -> Self
Converts to this type from the input type.
Source§impl From<NetworkError> for ExtendedPublicKeyError
impl From<NetworkError> for ExtendedPublicKeyError
Source§fn from(error: NetworkError) -> Self
fn from(error: NetworkError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NetworkError
impl RefUnwindSafe for NetworkError
impl Send for NetworkError
impl Sync for NetworkError
impl Unpin for NetworkError
impl UnsafeUnpin for NetworkError
impl UnwindSafe for NetworkError
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