Enum emulator_connect::EmulatorError
source · pub enum EmulatorError {
NetworkIssue(Error),
BIP32Error(Error),
}
Expand description
Errors that an emulator might throw
Variants§
NetworkIssue(Error)
Wraps an issue caused in a Network/IO context (TODO: Prevents serialization/deserialization)
BIP32Error(Error)
Error was caused by BIP32
Trait Implementations§
source§impl Debug for EmulatorError
impl Debug for EmulatorError
source§impl Display for EmulatorError
impl Display for EmulatorError
source§impl Error for EmulatorError
impl Error for EmulatorError
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 From<Error> for EmulatorError
impl From<Error> for EmulatorError
source§fn from(e: Error) -> EmulatorError
fn from(e: Error) -> EmulatorError
Converts to this type from the input type.
source§impl From<Error> for EmulatorError
impl From<Error> for EmulatorError
source§fn from(e: Error) -> EmulatorError
fn from(e: Error) -> EmulatorError
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for EmulatorError
impl Send for EmulatorError
impl Sync for EmulatorError
impl Unpin for EmulatorError
impl !UnwindSafe for EmulatorError
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