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 Freeze for DispatchResultKind
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