pub struct ClosureCapacityReason {
pub dimension: ResourceDimension,
pub required: u128,
pub limit: u128,
}Expand description
Capacity-specific closure refusal suffix.
Fields§
§dimension: ResourceDimensionFirst failing component.
required: u128Simulated maximum required amount.
limit: u128Configured component limit.
Trait Implementations§
Source§impl Clone for ClosureCapacityReason
impl Clone for ClosureCapacityReason
Source§fn clone(&self) -> ClosureCapacityReason
fn clone(&self) -> ClosureCapacityReason
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ClosureCapacityReason
Source§impl Debug for ClosureCapacityReason
impl Debug for ClosureCapacityReason
impl Eq for ClosureCapacityReason
Source§impl PartialEq for ClosureCapacityReason
impl PartialEq for ClosureCapacityReason
impl StructuralPartialEq for ClosureCapacityReason
Auto Trait Implementations§
impl Freeze for ClosureCapacityReason
impl RefUnwindSafe for ClosureCapacityReason
impl Send for ClosureCapacityReason
impl Sync for ClosureCapacityReason
impl Unpin for ClosureCapacityReason
impl UnsafeUnpin for ClosureCapacityReason
impl UnwindSafe for ClosureCapacityReason
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