pub struct GenericTransformationTechnologyConfig {
pub protocol_name: String,
pub protocol_version: String,
pub header_length: u32,
pub in_place: bool,
}
Expand description
Configuration for a generic transformation technology For a generic trasformation, the mandatory values must be chosen by the user
Fields§
§protocol_name: String
The name of the custom protocol
protocol_version: String
The version of the custom protocol
header_length: u32
The length of the header in bits
in_place: bool
Should the transformation take place in the existing buffer or in a separate buffer?
Trait Implementations§
Source§impl Clone for GenericTransformationTechnologyConfig
impl Clone for GenericTransformationTechnologyConfig
Source§fn clone(&self) -> GenericTransformationTechnologyConfig
fn clone(&self) -> GenericTransformationTechnologyConfig
Returns a duplicate 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 PartialEq for GenericTransformationTechnologyConfig
impl PartialEq for GenericTransformationTechnologyConfig
Source§fn eq(&self, other: &GenericTransformationTechnologyConfig) -> bool
fn eq(&self, other: &GenericTransformationTechnologyConfig) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for GenericTransformationTechnologyConfig
impl StructuralPartialEq for GenericTransformationTechnologyConfig
Auto Trait Implementations§
impl Freeze for GenericTransformationTechnologyConfig
impl RefUnwindSafe for GenericTransformationTechnologyConfig
impl Send for GenericTransformationTechnologyConfig
impl Sync for GenericTransformationTechnologyConfig
impl Unpin for GenericTransformationTechnologyConfig
impl UnwindSafe for GenericTransformationTechnologyConfig
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.