pub enum CostTrackerError {
WouldExceedBlockMaxLimit,
WouldExceedVoteMaxLimit,
WouldExceedAccountMaxLimit,
WouldExceedAccountDataBlockLimit,
WouldExceedAccountDataTotalLimit,
}
Variants§
WouldExceedBlockMaxLimit
would exceed block max limit
WouldExceedVoteMaxLimit
would exceed vote max limit
WouldExceedAccountMaxLimit
would exceed account max limit
WouldExceedAccountDataBlockLimit
would exceed account data block limit
WouldExceedAccountDataTotalLimit
would exceed account data total limit
Trait Implementations§
source§impl Clone for CostTrackerError
impl Clone for CostTrackerError
source§fn clone(&self) -> CostTrackerError
fn clone(&self) -> CostTrackerError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CostTrackerError
impl Debug for CostTrackerError
source§impl PartialEq<CostTrackerError> for CostTrackerError
impl PartialEq<CostTrackerError> for CostTrackerError
source§fn eq(&self, other: &CostTrackerError) -> bool
fn eq(&self, other: &CostTrackerError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CostTrackerError
impl Eq for CostTrackerError
impl StructuralEq for CostTrackerError
impl StructuralPartialEq for CostTrackerError
Auto Trait Implementations§
impl RefUnwindSafe for CostTrackerError
impl Send for CostTrackerError
impl Sync for CostTrackerError
impl Unpin for CostTrackerError
impl UnwindSafe for CostTrackerError
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.