pub enum GetBalancesError {
Mine(ParseAmountError),
WatchOnly(ParseAmountError),
LastProcessedBlock(LastProcessedBlockError),
}Expand description
Error when converting a GetBalances type into the model type.
Variants§
Mine(ParseAmountError)
Conversion of the mine field failed.
WatchOnly(ParseAmountError)
Conversion of the watchonly field failed.
LastProcessedBlock(LastProcessedBlockError)
Conversion of the last_processed_block field failed.
Trait Implementations§
Source§impl Debug for GetBalancesError
impl Debug for GetBalancesError
Source§impl Display for GetBalancesError
impl Display for GetBalancesError
Source§impl Error for GetBalancesError
Available on crate feature std only.
impl Error for GetBalancesError
Available on crate feature
std only.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()
Auto Trait Implementations§
impl Freeze for GetBalancesError
impl RefUnwindSafe for GetBalancesError
impl Send for GetBalancesError
impl Sync for GetBalancesError
impl Unpin for GetBalancesError
impl UnsafeUnpin for GetBalancesError
impl UnwindSafe for GetBalancesError
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