#[non_exhaustive]pub enum PacketStride {
Ts188,
Rs204,
}Expand description
Detected packet size after locking.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Ts188
Standard 188-byte TS packets.
Rs204
204-byte packets (188-byte TS + 16 Reed-Solomon parity bytes).
Trait Implementations§
Source§impl Clone for PacketStride
impl Clone for PacketStride
Source§fn clone(&self) -> PacketStride
fn clone(&self) -> PacketStride
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PacketStride
Source§impl Debug for PacketStride
impl Debug for PacketStride
impl Eq for PacketStride
Source§impl PartialEq for PacketStride
impl PartialEq for PacketStride
Source§fn eq(&self, other: &PacketStride) -> bool
fn eq(&self, other: &PacketStride) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PacketStride
impl Serialize for PacketStride
impl StructuralPartialEq for PacketStride
Auto Trait Implementations§
impl Freeze for PacketStride
impl RefUnwindSafe for PacketStride
impl Send for PacketStride
impl Sync for PacketStride
impl Unpin for PacketStride
impl UnsafeUnpin for PacketStride
impl UnwindSafe for PacketStride
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