pub enum BitcoinClientError<T: Debug> {
ClientError(String),
InvalidPsbt,
Transport(T),
Store(StoreError),
Device {
command: u8,
status: StatusWord,
},
UnexpectedResult {
command: u8,
data: Vec<u8>,
},
InvalidResponse(String),
UnsupportedAppVersion,
}Variants§
ClientError(String)
InvalidPsbt
Transport(T)
Store(StoreError)
Device
UnexpectedResult
InvalidResponse(String)
UnsupportedAppVersion
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for BitcoinClientError<T>where
T: Freeze,
impl<T> RefUnwindSafe for BitcoinClientError<T>where
T: RefUnwindSafe,
impl<T> Send for BitcoinClientError<T>where
T: Send,
impl<T> Sync for BitcoinClientError<T>where
T: Sync,
impl<T> Unpin for BitcoinClientError<T>where
T: Unpin,
impl<T> UnwindSafe for BitcoinClientError<T>where
T: UnwindSafe,
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