Struct cfdp::alloc_mod::PduOwnedWithInfo
source · pub struct PduOwnedWithInfo {
pub pdu_type: PduType,
pub file_directive_type: Option<FileDirectiveType>,
pub pdu: Vec<u8>,
}Available on crate feature
alloc only.Fields§
§pdu_type: PduType§file_directive_type: Option<FileDirectiveType>§pdu: Vec<u8>Implementations§
Trait Implementations§
source§impl Clone for PduOwnedWithInfo
impl Clone for PduOwnedWithInfo
source§fn clone(&self) -> PduOwnedWithInfo
fn clone(&self) -> PduOwnedWithInfo
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 Debug for PduOwnedWithInfo
impl Debug for PduOwnedWithInfo
source§impl From<PduRawWithInfo<'_>> for PduOwnedWithInfo
impl From<PduRawWithInfo<'_>> for PduOwnedWithInfo
source§fn from(value: PduRawWithInfo<'_>) -> Self
fn from(value: PduRawWithInfo<'_>) -> Self
Converts to this type from the input type.
source§impl PartialEq for PduOwnedWithInfo
impl PartialEq for PduOwnedWithInfo
source§impl PduProvider for PduOwnedWithInfo
impl PduProvider for PduOwnedWithInfo
fn pdu_type(&self) -> PduType
fn file_directive_type(&self) -> Option<FileDirectiveType>
fn pdu(&self) -> &[u8] ⓘ
fn packet_target(&self) -> Result<PacketTarget, PduError>
impl Eq for PduOwnedWithInfo
impl StructuralPartialEq for PduOwnedWithInfo
Auto Trait Implementations§
impl Freeze for PduOwnedWithInfo
impl RefUnwindSafe for PduOwnedWithInfo
impl Send for PduOwnedWithInfo
impl Sync for PduOwnedWithInfo
impl Unpin for PduOwnedWithInfo
impl UnwindSafe for PduOwnedWithInfo
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)