#[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§
Source§impl Clone for ExpRespData
impl Clone for ExpRespData
Source§fn clone(&self) -> ExpRespData
fn clone(&self) -> ExpRespData
Returns a copy 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 Debug for ExpRespData
impl Debug for ExpRespData
Source§impl Ord for ExpRespData
impl Ord for ExpRespData
Source§fn cmp(&self, other: &ExpRespData) -> Ordering
fn cmp(&self, other: &ExpRespData) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ExpRespData
impl PartialEq for ExpRespData
Source§impl PartialOrd for ExpRespData
impl PartialOrd for ExpRespData
impl Copy for ExpRespData
impl Eq for ExpRespData
impl StructuralPartialEq for ExpRespData
Auto Trait Implementations§
impl Freeze for ExpRespData
impl RefUnwindSafe for ExpRespData
impl !Send for ExpRespData
impl !Sync for ExpRespData
impl Unpin for ExpRespData
impl UnwindSafe for ExpRespData
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