pub struct EchoSeq(/* private fields */);
Expand description
Echo message “sequence number” field.
§Examples
Constructing from a u16
with big-endian byte ordering:
use async_icmp::message::echo::EchoSeq;
let seq: EchoSeq = EchoSeq::from_be(456);
Implementations§
Trait Implementations§
impl Copy for EchoSeq
impl Eq for EchoSeq
impl StructuralPartialEq for EchoSeq
Auto Trait Implementations§
impl Freeze for EchoSeq
impl RefUnwindSafe for EchoSeq
impl Send for EchoSeq
impl Sync for EchoSeq
impl Unpin for EchoSeq
impl UnwindSafe for EchoSeq
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.