pub enum PacketMissingFieldError {
Header,
BufferIndex,
StreamLifetimeOrdinal,
StartOffset,
ValidLengthBytes,
}
Expand description
Missing fields in Packet
.
Variants§
Header
header
is missing.
BufferIndex
buffer_index
is missing.
StreamLifetimeOrdinal
stream_lifetime_ordinal
is missing.
StartOffset
start_offset
is missing.
ValidLengthBytes
valid_length_bytes
is missing.
Trait Implementations§
Source§impl Clone for PacketMissingFieldError
impl Clone for PacketMissingFieldError
Source§fn clone(&self) -> PacketMissingFieldError
fn clone(&self) -> PacketMissingFieldError
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 PacketMissingFieldError
impl Debug for PacketMissingFieldError
Source§impl From<PacketMissingFieldError> for PacketValidationError
impl From<PacketMissingFieldError> for PacketValidationError
Source§fn from(src: PacketMissingFieldError) -> Self
fn from(src: PacketMissingFieldError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PacketMissingFieldError
impl PartialEq for PacketMissingFieldError
impl Copy for PacketMissingFieldError
impl StructuralPartialEq for PacketMissingFieldError
Auto Trait Implementations§
impl Freeze for PacketMissingFieldError
impl RefUnwindSafe for PacketMissingFieldError
impl Send for PacketMissingFieldError
impl Sync for PacketMissingFieldError
impl Unpin for PacketMissingFieldError
impl UnwindSafe for PacketMissingFieldError
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
)