Enum solana_sdk::lamports::LamportsError [−][src]
pub enum LamportsError { ArithmeticUnderflow, ArithmeticOverflow, }
Variants
arithmetic underflowed
arithmetic overflowed
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for LamportsError
impl Send for LamportsError
impl Sync for LamportsError
impl Unpin for LamportsError
impl UnwindSafe for LamportsError
Blanket Implementations
pub fn as_fail(&self) -> &(dyn Fail + 'static)
pub fn as_fail(&self) -> &(dyn Fail + 'static)
Converts a reference to Self
into a dynamic trait object of Fail
.
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self