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: SplitByteSlice> MessageBody for EmptyMessage<B>
impl<B: SplitByteSlice> 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>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)