#[repr(u8)]pub enum SignalCode {
Execution(SimpleExecutionError),
RemovedFromWaitlist,
}
Expand description
Variants§
Execution(SimpleExecutionError)
Signal was sent due to some execution errors.
RemovedFromWaitlist
Signal was sent due to removal from waitlist as out of rent.
Implementations§
Trait Implementations§
Source§impl Clone for SignalCode
impl Clone for SignalCode
Source§fn clone(&self) -> SignalCode
fn clone(&self) -> SignalCode
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 SignalCode
impl Debug for SignalCode
Source§impl Display for SignalCode
impl Display for SignalCode
Source§impl Error for SignalCode
impl Error for SignalCode
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<SimpleExecutionError> for SignalCode
impl From<SimpleExecutionError> for SignalCode
Source§fn from(source: SimpleExecutionError) -> Self
fn from(source: SimpleExecutionError) -> Self
Converts to this type from the input type.
Source§impl Hash for SignalCode
impl Hash for SignalCode
Source§impl PartialEq for SignalCode
impl PartialEq for SignalCode
Source§impl Sequence for SignalCode
impl Sequence for SignalCode
impl Copy for SignalCode
impl Eq for SignalCode
impl StructuralPartialEq for SignalCode
Auto Trait Implementations§
impl Freeze for SignalCode
impl RefUnwindSafe for SignalCode
impl Send for SignalCode
impl Sync for SignalCode
impl Unpin for SignalCode
impl UnwindSafe for SignalCode
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