pub struct LogicalPacket {
pub attribute: Attribute,
pub next: bool,
pub chunk: u8,
pub size: u16,
pub payload: Vec<u8>,
}Expand description
Represents a single logical packet within a PutData response. PutData packets can contain multiple chained logical packets, each with its own extended header and payload.
Fields§
§attribute: Attribute§next: bool§chunk: u8§size: u16§payload: Vec<u8>Trait Implementations§
Source§impl Clone for LogicalPacket
impl Clone for LogicalPacket
Source§impl Debug for LogicalPacket
impl Debug for LogicalPacket
Source§impl PartialEq for LogicalPacket
impl PartialEq for LogicalPacket
impl StructuralPartialEq for LogicalPacket
Auto Trait Implementations§
impl Freeze for LogicalPacket
impl RefUnwindSafe for LogicalPacket
impl Send for LogicalPacket
impl Sync for LogicalPacket
impl Unpin for LogicalPacket
impl UnsafeUnpin for LogicalPacket
impl UnwindSafe for LogicalPacket
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