pub enum LedgerRefusal {
HeldReserve {
held: u64,
limit: u64,
},
PerExecution {
requested: u64,
limit: u64,
},
AllExecutions {
requested: u64,
limit: u64,
},
}Expand description
Which ceiling refused a reservation, with the numbers the capability’s message needs.
Variants§
HeldReserve
Held reserve is already past LedgerLimits::max_held_tokens.
PerExecution
This execution’s own ceiling.
AllExecutions
The shared aggregate’s cap.
Trait Implementations§
Source§impl Clone for LedgerRefusal
impl Clone for LedgerRefusal
impl Copy for LedgerRefusal
Source§impl Debug for LedgerRefusal
impl Debug for LedgerRefusal
impl Eq for LedgerRefusal
Source§impl PartialEq for LedgerRefusal
impl PartialEq for LedgerRefusal
impl StructuralPartialEq for LedgerRefusal
Auto Trait Implementations§
impl Freeze for LedgerRefusal
impl RefUnwindSafe for LedgerRefusal
impl Send for LedgerRefusal
impl Sync for LedgerRefusal
impl Unpin for LedgerRefusal
impl UnsafeUnpin for LedgerRefusal
impl UnwindSafe for LedgerRefusal
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.