pub struct WirePacket<'a> {
pub header: PacketHeader,
pub sections: Vec<WireSection<'a>>,
}Expand description
A decoded wire packet.
Fields§
§header: PacketHeader§sections: Vec<WireSection<'a>>Trait Implementations§
Source§impl<'a> Clone for WirePacket<'a>
impl<'a> Clone for WirePacket<'a>
Source§fn clone(&self) -> WirePacket<'a>
fn clone(&self) -> WirePacket<'a>
Returns a duplicate 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<'a> Debug for WirePacket<'a>
impl<'a> Debug for WirePacket<'a>
Source§impl<'a> PartialEq for WirePacket<'a>
impl<'a> PartialEq for WirePacket<'a>
impl<'a> Eq for WirePacket<'a>
impl<'a> StructuralPartialEq for WirePacket<'a>
Auto Trait Implementations§
impl<'a> Freeze for WirePacket<'a>
impl<'a> RefUnwindSafe for WirePacket<'a>
impl<'a> Send for WirePacket<'a>
impl<'a> Sync for WirePacket<'a>
impl<'a> Unpin for WirePacket<'a>
impl<'a> UnwindSafe for WirePacket<'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