pub enum PingReceive {
Data(PingReceiveData),
Timeout,
}Expand description
Structure representing ping receive cases.
Variants§
Data(PingReceiveData)
Case represeting the data from a received echo reply message.
Timeout
Case representing a timeout on an attempt to receive an echo reply message.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PingReceive
impl RefUnwindSafe for PingReceive
impl Send for PingReceive
impl Sync for PingReceive
impl Unpin for PingReceive
impl UnwindSafe for PingReceive
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