#[non_exhaustive]#[repr(u32)]pub enum ProgramRentError {
MaximumBlockCountPaid = 600,
}
Expand description
Program rent error.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
MaximumBlockCountPaid = 600
The error occurs when program’s paid block count is maximum.
Trait Implementations§
source§impl Clone for ProgramRentError
impl Clone for ProgramRentError
source§fn clone(&self) -> ProgramRentError
fn clone(&self) -> ProgramRentError
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 ProgramRentError
impl Debug for ProgramRentError
source§impl Display for ProgramRentError
impl Display for ProgramRentError
source§impl From<ProgramRentError> for ExtError
impl From<ProgramRentError> for ExtError
source§fn from(original: ProgramRentError) -> ExtError
fn from(original: ProgramRentError) -> ExtError
Converts to this type from the input type.
source§impl Hash for ProgramRentError
impl Hash for ProgramRentError
source§impl Ord for ProgramRentError
impl Ord for ProgramRentError
source§fn cmp(&self, other: &ProgramRentError) -> Ordering
fn cmp(&self, other: &ProgramRentError) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ProgramRentError
impl PartialEq for ProgramRentError
source§fn eq(&self, other: &ProgramRentError) -> bool
fn eq(&self, other: &ProgramRentError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ProgramRentError
impl PartialOrd for ProgramRentError
source§fn partial_cmp(&self, other: &ProgramRentError) -> Option<Ordering>
fn partial_cmp(&self, other: &ProgramRentError) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Sequence for ProgramRentError
impl Sequence for ProgramRentError
impl Copy for ProgramRentError
impl Eq for ProgramRentError
impl StructuralEq for ProgramRentError
impl StructuralPartialEq for ProgramRentError
Auto Trait Implementations§
impl RefUnwindSafe for ProgramRentError
impl Send for ProgramRentError
impl Sync for ProgramRentError
impl Unpin for ProgramRentError
impl UnwindSafe for ProgramRentError
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