#[repr(C)]pub struct TransferStatus {
pub currentScanCount: c_ulonglong,
pub currentTotalCount: c_ulonglong,
pub currentIndex: c_longlong,
pub reserved: [c_char; 64],
}Expand description
\brief A structure containing information about the progress of the specified scan operation.
The struct contains fields for the current and total scan count and index value.
Fields§
§currentScanCount: c_ulonglongThe number of samples per channel transferred since the scan started. This is the same as \p currentTotalCount for single channel scans.
currentTotalCount: c_ulonglongThe total number of samples transferred since the scan started. This is the same as \p currentScanCount multiplied by the number of channels in the scan.
currentIndex: c_longlongThis marks the location in the buffer where the last scan of data values are stored. For continuous scans, this value increments up to (buffer size - number of channels) and restarts from 0.
reserved: [c_char; 64]Reserved for future use
Trait Implementations§
Source§impl Clone for TransferStatus
impl Clone for TransferStatus
Source§fn clone(&self) -> TransferStatus
fn clone(&self) -> TransferStatus
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 moreimpl Copy for TransferStatus
Auto Trait Implementations§
impl Freeze for TransferStatus
impl RefUnwindSafe for TransferStatus
impl Send for TransferStatus
impl Sync for TransferStatus
impl Unpin for TransferStatus
impl UnsafeUnpin for TransferStatus
impl UnwindSafe for TransferStatus
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