Enum gear_core_errors::SignalCode
source · 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 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 moresource§impl Debug for SignalCode
impl Debug for SignalCode
source§impl Default for SignalCode
impl Default for SignalCode
source§fn default() -> SignalCode
fn default() -> SignalCode
Returns the “default value” for a type. Read more
source§impl Display for SignalCode
impl Display for SignalCode
source§impl From<()> for SignalCode
impl From<()> for SignalCode
source§fn from(original: ()) -> SignalCode
fn from(original: ()) -> SignalCode
Converts to this type from the input type.
source§impl From<SimpleExecutionError> for SignalCode
impl From<SimpleExecutionError> for SignalCode
source§fn from(original: SimpleExecutionError) -> SignalCode
fn from(original: SimpleExecutionError) -> SignalCode
Converts to this type from the input type.
source§impl Hash for SignalCode
impl Hash for SignalCode
source§impl Ord for SignalCode
impl Ord for SignalCode
source§fn cmp(&self, other: &SignalCode) -> Ordering
fn cmp(&self, other: &SignalCode) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for SignalCode
impl PartialEq for SignalCode
source§fn eq(&self, other: &SignalCode) -> bool
fn eq(&self, other: &SignalCode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SignalCode
impl PartialOrd for SignalCode
source§fn partial_cmp(&self, other: &SignalCode) -> Option<Ordering>
fn partial_cmp(&self, other: &SignalCode) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for SignalCode
impl Eq for SignalCode
impl StructuralEq for SignalCode
impl StructuralPartialEq for SignalCode
Auto Trait Implementations§
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