#[non_exhaustive]pub enum SignalDropReason {
QueueFull,
TargetNotFound,
Cancelled,
}Expand description
Why a SendSignal op was dropped before delivery.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
QueueFull
Target instance’s IPC queue was full.
TargetNotFound
Target instance does not exist (or has been despawned).
Cancelled
Sender cancelled the signal before delivery.
Trait Implementations§
Source§impl Clone for SignalDropReason
impl Clone for SignalDropReason
Source§fn clone(&self) -> SignalDropReason
fn clone(&self) -> SignalDropReason
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 SignalDropReason
impl Debug for SignalDropReason
Source§impl<'de> Deserialize<'de> for SignalDropReason
impl<'de> Deserialize<'de> for SignalDropReason
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SignalDropReason
impl PartialEq for SignalDropReason
Source§impl Serialize for SignalDropReason
impl Serialize for SignalDropReason
impl Copy for SignalDropReason
impl Eq for SignalDropReason
impl StructuralPartialEq for SignalDropReason
Auto Trait Implementations§
impl Freeze for SignalDropReason
impl RefUnwindSafe for SignalDropReason
impl Send for SignalDropReason
impl Sync for SignalDropReason
impl Unpin for SignalDropReason
impl UnsafeUnpin for SignalDropReason
impl UnwindSafe for SignalDropReason
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