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
sourceimpl Clone for CostTrackerError
impl Clone for CostTrackerError
sourcefn clone(&self) -> CostTrackerError
fn clone(&self) -> CostTrackerError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for CostTrackerError
impl Debug for CostTrackerError
sourceimpl PartialEq<CostTrackerError> for CostTrackerError
impl PartialEq<CostTrackerError> for CostTrackerError
sourcefn eq(&self, other: &CostTrackerError) -> bool
fn eq(&self, other: &CostTrackerError) -> bool
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
sourceimpl<T> AbiExample for T
impl<T> AbiExample for T
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.