pub struct Refused {
pub request: TransferRequest,
pub error: Error,
pub at_stake: Option<u128>,
pub outcome: Outcome,
}Expand description
A transfer that did not go through, and why.
Fields§
§request: TransferRequestThe transfer.
error: ErrorThe last error. Error::is_transient tells whether submitting it
again later may work; a refusal such as spent, expired or
layer_full will not.
at_stake: Option<u128>For a transfer refused as spent or expired that this purse made
or is paid by, what it may lose (Holder::at_stake), as it stood
before the transfer was dropped: the transfer may have been applied,
with an answer the mint no longer keeps. Only a counterparty that
submitted it can then hand the notes over, for
accept. None otherwise.
outcome: OutcomeWhat the purse did with the transfer.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Refused
impl !UnwindSafe for Refused
impl Freeze for Refused
impl Send for Refused
impl Sync for Refused
impl Unpin for Refused
impl UnsafeUnpin for Refused
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