pub struct ParsedMessage<'a> {
pub envelope: &'a BinaryMessageEnvelope,
pub payload: &'a [u8],
}Expand description
Parsed DCP message with envelope and payload reference
Fields§
§envelope: &'a BinaryMessageEnvelopeThe message envelope
payload: &'a [u8]The payload bytes
Trait Implementations§
Source§impl<'a> Debug for ParsedMessage<'a>
impl<'a> Debug for ParsedMessage<'a>
Source§impl<'a> PartialEq for ParsedMessage<'a>
impl<'a> PartialEq for ParsedMessage<'a>
Source§fn eq(&self, other: &ParsedMessage<'a>) -> bool
fn eq(&self, other: &ParsedMessage<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> StructuralPartialEq for ParsedMessage<'a>
Auto Trait Implementations§
impl<'a> Freeze for ParsedMessage<'a>
impl<'a> RefUnwindSafe for ParsedMessage<'a>
impl<'a> Send for ParsedMessage<'a>
impl<'a> Sync for ParsedMessage<'a>
impl<'a> Unpin for ParsedMessage<'a>
impl<'a> UnsafeUnpin for ParsedMessage<'a>
impl<'a> UnwindSafe for ParsedMessage<'a>
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