pub enum UndefinedTerminationReason {
Actor(ActorTerminationReason),
System(SystemTerminationReason),
ProcessAccessErrorResourcesExceed,
}
Variants§
Actor(ActorTerminationReason)
System(SystemTerminationReason)
ProcessAccessErrorResourcesExceed
Undefined reason because we need access to counters owner trait for RI.
Implementations§
Source§impl UndefinedTerminationReason
impl UndefinedTerminationReason
pub fn define(self, current_counter: CounterType) -> TerminationReason
Trait Implementations§
Source§impl Clone for UndefinedTerminationReason
impl Clone for UndefinedTerminationReason
Source§fn clone(&self) -> UndefinedTerminationReason
fn clone(&self) -> UndefinedTerminationReason
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 moreSource§impl Debug for UndefinedTerminationReason
impl Debug for UndefinedTerminationReason
Source§impl From<()> for UndefinedTerminationReason
impl From<()> for UndefinedTerminationReason
Source§fn from(original: ()) -> UndefinedTerminationReason
fn from(original: ()) -> UndefinedTerminationReason
Converts to this type from the input type.
Source§impl From<ActorTerminationReason> for UndefinedTerminationReason
impl From<ActorTerminationReason> for UndefinedTerminationReason
Source§fn from(original: ActorTerminationReason) -> UndefinedTerminationReason
fn from(original: ActorTerminationReason) -> UndefinedTerminationReason
Converts to this type from the input type.
Source§impl From<ChargeError> for UndefinedTerminationReason
impl From<ChargeError> for UndefinedTerminationReason
Source§fn from(err: ChargeError) -> Self
fn from(err: ChargeError) -> Self
Converts to this type from the input type.
Source§impl<E: BackendSyscallError> From<E> for UndefinedTerminationReason
impl<E: BackendSyscallError> From<E> for UndefinedTerminationReason
Source§impl From<SystemTerminationReason> for UndefinedTerminationReason
impl From<SystemTerminationReason> for UndefinedTerminationReason
Source§fn from(original: SystemTerminationReason) -> UndefinedTerminationReason
fn from(original: SystemTerminationReason) -> UndefinedTerminationReason
Converts to this type from the input type.
Source§impl From<TrapExplanation> for UndefinedTerminationReason
impl From<TrapExplanation> for UndefinedTerminationReason
Source§fn from(trap: TrapExplanation) -> Self
fn from(trap: TrapExplanation) -> Self
Converts to this type from the input type.
impl Eq for UndefinedTerminationReason
impl StructuralPartialEq for UndefinedTerminationReason
Auto Trait Implementations§
impl Freeze for UndefinedTerminationReason
impl RefUnwindSafe for UndefinedTerminationReason
impl Send for UndefinedTerminationReason
impl Sync for UndefinedTerminationReason
impl Unpin for UndefinedTerminationReason
impl UnwindSafe for UndefinedTerminationReason
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