pub enum DispatchOutcome {
Exit {
program_id: ProgramId,
},
InitSuccess {
program_id: ProgramId,
},
InitFailure {
program_id: ProgramId,
origin: ProgramId,
reason: String,
executed: bool,
},
MessageTrap {
program_id: ProgramId,
trap: String,
},
Success,
NoExecution,
}
Expand description
Dispatch outcome of the specific message.
Variants§
Exit
Message was a exit.
InitSuccess
Message was an initialization success.
InitFailure
Message was an initialization failure.
Fields
MessageTrap
Message was a trap.
Success
Message was a success.
NoExecution
Message was processed, but not executed
Trait Implementations§
Source§impl Clone for DispatchOutcome
impl Clone for DispatchOutcome
Source§fn clone(&self) -> DispatchOutcome
fn clone(&self) -> DispatchOutcome
Returns a duplicate 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 DispatchOutcome
impl RefUnwindSafe for DispatchOutcome
impl Send for DispatchOutcome
impl Sync for DispatchOutcome
impl Unpin for DispatchOutcome
impl UnwindSafe for DispatchOutcome
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