Struct dpdu_rust::ExpRespData
source · [−]#[repr(C)]pub struct ExpRespData {
pub response_type: u32,
pub acceptance_id: u32,
pub num_mask_pattern_bytes: u32,
pub p_mask_data: *mut u8,
pub p_pattern_data: *mut u8,
pub num_unique_resp_ids: u32,
pub p_unique_resp_ids: *mut u32,
}
Expand description
Expected response structure
Fields
response_type: u32
Expected response type (0 = positive, 1 = negative)
acceptance_id: u32
ID assigned by application to be returned
num_mask_pattern_bytes: u32
Number of bytes in ExpRespData::p_mask_data and ExpRespData::p_pattern_data
p_mask_data: *mut u8
Pointer to mask data
p_pattern_data: *mut u8
Pointer to pattern data
num_unique_resp_ids: u32
Number of items in ExpRespData::p_unique_resp_ids
p_unique_resp_ids: *mut u32
Array containing unique response IDs
Trait Implementations
sourceimpl Clone for ExpRespData
impl Clone for ExpRespData
sourcefn clone(&self) -> ExpRespData
fn clone(&self) -> ExpRespData
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ExpRespData
impl Debug for ExpRespData
sourceimpl Ord for ExpRespData
impl Ord for ExpRespData
sourceimpl PartialEq<ExpRespData> for ExpRespData
impl PartialEq<ExpRespData> for ExpRespData
sourcefn eq(&self, other: &ExpRespData) -> bool
fn eq(&self, other: &ExpRespData) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ExpRespData) -> bool
fn ne(&self, other: &ExpRespData) -> bool
This method tests for !=
.
sourceimpl PartialOrd<ExpRespData> for ExpRespData
impl PartialOrd<ExpRespData> for ExpRespData
sourcefn partial_cmp(&self, other: &ExpRespData) -> Option<Ordering>
fn partial_cmp(&self, other: &ExpRespData) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for ExpRespData
impl Eq for ExpRespData
impl StructuralEq for ExpRespData
impl StructuralPartialEq for ExpRespData
Auto Trait Implementations
impl RefUnwindSafe for ExpRespData
impl !Send for ExpRespData
impl !Sync for ExpRespData
impl Unpin for ExpRespData
impl UnwindSafe for ExpRespData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more