pub struct Interception {
pub flags: u8,
pub timestamp: Vec<u8>,
}Expand description
A single interception record containing the interception point identifier, timestamp format flag, and raw timestamp bytes.
Flags:
- U: User-defined If U==1 then the timestamp format is user-defined;
otherwise it is a standard UHLC timestamp.
- X: Reserved Must be 0.
- point: Interception point 0b001=SEND, 0b010=ROUTE, 0b100=RECEIVE.
7 6 5 4 3 2 1 0
+-+-+-+-+-+-+-+-+
|U|X|X|X|X|point|
+---------------+
~ timestamp ~
+---------------+Fields§
§flags: u8Bitfield: interception point id + timestamp format.
timestamp: Vec<u8>Raw timestamp bytes (format defined by flags).
Trait Implementations§
Source§impl Clone for Interception
impl Clone for Interception
Source§fn clone(&self) -> Interception
fn clone(&self) -> Interception
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 moreSource§impl Debug for Interception
impl Debug for Interception
impl Eq for Interception
Source§impl PartialEq for Interception
impl PartialEq for Interception
impl StructuralPartialEq for Interception
Auto Trait Implementations§
impl Freeze for Interception
impl RefUnwindSafe for Interception
impl Send for Interception
impl Sync for Interception
impl Unpin for Interception
impl UnsafeUnpin for Interception
impl UnwindSafe for Interception
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more