Enum gear_processor::common::DispatchResultKind
source · pub enum DispatchResultKind {
Success,
Trap(TrapExplanation),
Wait(Option<u32>, MessageWaitedType),
Exit(ProgramId),
GasAllowanceExceed,
}
Expand description
Kind of the dispatch result.
Variants§
Success
Successful dispatch
Trap(TrapExplanation)
Trap dispatch.
Wait(Option<u32>, MessageWaitedType)
Wait dispatch.
Exit(ProgramId)
Exit dispatch.
GasAllowanceExceed
Gas allowance exceed.
Trait Implementations§
source§impl Clone for DispatchResultKind
impl Clone for DispatchResultKind
source§fn clone(&self) -> DispatchResultKind
fn clone(&self) -> DispatchResultKind
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 moreAuto Trait Implementations§
impl RefUnwindSafe for DispatchResultKind
impl Send for DispatchResultKind
impl Sync for DispatchResultKind
impl Unpin for DispatchResultKind
impl UnwindSafe for DispatchResultKind
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