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 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 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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.