Struct packet_formats::icmp::EmptyMessage
source · pub struct EmptyMessage<B>(/* private fields */);
Expand description
Empty message.
Trait Implementations§
source§impl<B: Clone> Clone for EmptyMessage<B>
impl<B: Clone> Clone for EmptyMessage<B>
source§fn clone(&self) -> EmptyMessage<B>
fn clone(&self) -> EmptyMessage<B>
Returns a copy 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<B: Debug> Debug for EmptyMessage<B>
impl<B: Debug> Debug for EmptyMessage<B>
source§impl<B> Default for EmptyMessage<B>
impl<B> Default for EmptyMessage<B>
source§impl<B: ByteSlice> MessageBody for EmptyMessage<B>
impl<B: ByteSlice> MessageBody for EmptyMessage<B>
source§fn parse(bytes: B) -> ParseResult<Self>
fn parse(bytes: B) -> ParseResult<Self>
Parse the MessageBody from the provided bytes.
source§impl<B: PartialEq> PartialEq for EmptyMessage<B>
impl<B: PartialEq> PartialEq for EmptyMessage<B>
source§fn eq(&self, other: &EmptyMessage<B>) -> bool
fn eq(&self, other: &EmptyMessage<B>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<B: Copy> Copy for EmptyMessage<B>
impl<B: Eq> Eq for EmptyMessage<B>
impl<B> StructuralPartialEq for EmptyMessage<B>
Auto Trait Implementations§
impl<B> Freeze for EmptyMessage<B>
impl<B> RefUnwindSafe for EmptyMessage<B>where
B: RefUnwindSafe,
impl<B> Send for EmptyMessage<B>where
B: Send,
impl<B> Sync for EmptyMessage<B>where
B: Sync,
impl<B> Unpin for EmptyMessage<B>where
B: Unpin,
impl<B> UnwindSafe for EmptyMessage<B>where
B: UnwindSafe,
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