Enum core_processor::common::DispatchOutcome
source · 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
Fields
Message was an initialization failure.
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 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 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