pub enum SignalResult {
Sent,
BufferFull,
PeerDead,
}Expand description
Result of a doorbell signal attempt.
Variants§
Sent
Signal was sent successfully.
BufferFull
Buffer was full but peer is alive (signal coalesced with pending ones).
PeerDead
Peer has disconnected (socket broken).
Trait Implementations§
Source§impl Clone for SignalResult
impl Clone for SignalResult
Source§fn clone(&self) -> SignalResult
fn clone(&self) -> SignalResult
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 SignalResult
impl Debug for SignalResult
Source§impl PartialEq for SignalResult
impl PartialEq for SignalResult
impl Copy for SignalResult
impl Eq 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 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