Trait MaybeConsideration
pub trait MaybeConsideration<AccountId, Footprint>: Consideration<AccountId, Footprint> {
    // Required method
    fn is_none(&self) -> bool;
}Expand description
An extension of the Consideration trait that allows for the management of tickets that may
represent no cost. While the MaybeConsideration still requires proper handling, it
introduces the ability to determine if a ticket represents no cost and can be safely forgotten
without any side effects.
Required Methods§
fn is_none(&self) -> bool
fn is_none(&self) -> bool
Returns true if this Consideration represents a no-cost ticket and can be forgotten
without any side effects.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.