pub enum SignalResult {
Delivered,
Gone,
IdentityMismatch,
}Expand description
The outcome of AdoptedIdentity::signal.
Variants§
Delivered
The identity matched and the signal was sent.
Gone
No process has the pid any more.
IdentityMismatch
The pid names a different process; nothing was sent.
Trait Implementations§
Source§impl Clone for SignalResult
impl Clone for SignalResult
impl Copy for SignalResult
Source§impl Debug for SignalResult
impl Debug for SignalResult
impl Eq for SignalResult
Source§impl PartialEq for SignalResult
impl PartialEq for SignalResult
impl StructuralPartialEq for SignalResult
Auto Trait Implementations§
impl Freeze for SignalResult
impl RefUnwindSafe for SignalResult
impl Send for SignalResult
impl Sync for SignalResult
impl Unpin for SignalResult
impl UnsafeUnpin for SignalResult
impl UnwindSafe for SignalResult
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