pub struct BytesUnpackBlock<T: Apply> {
pub data: Vec<BlockData>,
/* private fields */
}Expand description
Unpacks a byte slice into a specified number of outputs based on the provided data types and byte order.
Fields§
§data: Vec<BlockData>Trait Implementations§
Source§impl<T: Apply> Default for BytesUnpackBlock<T>
impl<T: Apply> Default for BytesUnpackBlock<T>
Source§impl<T: Apply> IsValid for BytesUnpackBlock<T>
impl<T: Apply> IsValid for BytesUnpackBlock<T>
fn is_valid(&self, _app_time_s: f64) -> OldBlockData
Source§impl<T: Apply> ProcessBlock for BytesUnpackBlock<T>
impl<T: Apply> ProcessBlock for BytesUnpackBlock<T>
Auto Trait Implementations§
impl<T> Freeze for BytesUnpackBlock<T>where
<T as Apply>::Output: Freeze,
impl<T> RefUnwindSafe for BytesUnpackBlock<T>where
<T as Apply>::Output: RefUnwindSafe,
impl<T> Send for BytesUnpackBlock<T>where
<T as Apply>::Output: Send,
impl<T> Sync for BytesUnpackBlock<T>where
<T as Apply>::Output: Sync,
impl<T> Unpin for BytesUnpackBlock<T>where
<T as Apply>::Output: Unpin,
impl<T> UnsafeUnpin for BytesUnpackBlock<T>where
<T as Apply>::Output: UnsafeUnpin,
impl<T> UnwindSafe for BytesUnpackBlock<T>where
<T as Apply>::Output: UnwindSafe,
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<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.