pub struct EchoReq {
pub count: u16,
pub data: Vec<u8>,
}Expand description
ECHO request: repeat count plus echo data.
Fields§
§count: u16Number of responses requested.
data: Vec<u8>Data to be echoed back verbatim.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EchoReq
impl RefUnwindSafe for EchoReq
impl Send for EchoReq
impl Sync for EchoReq
impl Unpin for EchoReq
impl UnsafeUnpin for EchoReq
impl UnwindSafe for EchoReq
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