pub struct ValidPacketHeader {
pub buffer_lifetime_ordinal: u64,
pub packet_index: u32,
}
Fields§
§buffer_lifetime_ordinal: u64
§packet_index: u32
Trait Implementations§
Source§impl Clone for ValidPacketHeader
impl Clone for ValidPacketHeader
Source§fn clone(&self) -> ValidPacketHeader
fn clone(&self) -> ValidPacketHeader
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 ValidPacketHeader
impl Debug for ValidPacketHeader
Source§impl From<ValidPacketHeader> for PacketHeader
impl From<ValidPacketHeader> for PacketHeader
Source§fn from(src: ValidPacketHeader) -> PacketHeader
fn from(src: ValidPacketHeader) -> PacketHeader
Converts to this type from the input type.
Source§impl PartialEq for ValidPacketHeader
impl PartialEq for ValidPacketHeader
Source§impl TryFrom<PacketHeader> for ValidPacketHeader
impl TryFrom<PacketHeader> for ValidPacketHeader
Source§type Error = PacketHeaderValidationError
type Error = PacketHeaderValidationError
The type returned in the event of a conversion error.
impl Copy for ValidPacketHeader
impl StructuralPartialEq for ValidPacketHeader
Auto Trait Implementations§
impl Freeze for ValidPacketHeader
impl RefUnwindSafe for ValidPacketHeader
impl Send for ValidPacketHeader
impl Sync for ValidPacketHeader
impl Unpin for ValidPacketHeader
impl UnwindSafe for ValidPacketHeader
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
)