pub struct PDU {
pub header: PDUHeader,
pub payload: PDUPayload,
}Expand description
The Protocol Data Unit (PDU).
The main packet type for CFDP interactions.
Fields§
§header: PDUHeaderHeader information used to decode the rest of the packet.
payload: PDUPayloadPacket payload containing filedata or a directive.
Trait Implementations§
impl Eq for PDU
impl StructuralPartialEq for PDU
Auto Trait Implementations§
impl Freeze for PDU
impl RefUnwindSafe for PDU
impl Send for PDU
impl Sync for PDU
impl Unpin for PDU
impl UnwindSafe for PDU
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