Struct libusbk_sys::_KSTM_CALLBACK
source · [−]#[repr(C)]pub struct _KSTM_CALLBACK {
pub Error: Option<unsafe extern "C" fn(arg1: PKSTM_INFO, arg2: PKSTM_XFER_CONTEXT, arg3: INT, arg4: INT) -> INT>,
pub Submit: Option<unsafe extern "C" fn(arg1: PKSTM_INFO, arg2: PKSTM_XFER_CONTEXT, arg3: INT, arg4: LPOVERLAPPED) -> INT>,
pub Complete: Option<unsafe extern "C" fn(arg1: PKSTM_INFO, arg2: PKSTM_XFER_CONTEXT, arg3: INT, arg4: INT) -> INT>,
pub Started: Option<unsafe extern "C" fn(arg1: PKSTM_INFO, arg2: PKSTM_XFER_CONTEXT, arg3: INT) -> INT>,
pub Stopped: Option<unsafe extern "C" fn(arg1: PKSTM_INFO, arg2: PKSTM_XFER_CONTEXT, arg3: INT) -> INT>,
pub BeforeComplete: Option<unsafe extern "C" fn(arg1: PKSTM_INFO, arg2: PKSTM_XFER_CONTEXT, arg3: INT, arg4: PINT) -> KSTM_COMPLETE_RESULT>,
pub z_F_i_x_e_d: [UCHAR; 16],
}
Fields
Error: Option<unsafe extern "C" fn(arg1: PKSTM_INFO, arg2: PKSTM_XFER_CONTEXT, arg3: INT, arg4: INT) -> INT>
Submit: Option<unsafe extern "C" fn(arg1: PKSTM_INFO, arg2: PKSTM_XFER_CONTEXT, arg3: INT, arg4: LPOVERLAPPED) -> INT>
Complete: Option<unsafe extern "C" fn(arg1: PKSTM_INFO, arg2: PKSTM_XFER_CONTEXT, arg3: INT, arg4: INT) -> INT>
Started: Option<unsafe extern "C" fn(arg1: PKSTM_INFO, arg2: PKSTM_XFER_CONTEXT, arg3: INT) -> INT>
Stopped: Option<unsafe extern "C" fn(arg1: PKSTM_INFO, arg2: PKSTM_XFER_CONTEXT, arg3: INT) -> INT>
BeforeComplete: Option<unsafe extern "C" fn(arg1: PKSTM_INFO, arg2: PKSTM_XFER_CONTEXT, arg3: INT, arg4: PINT) -> KSTM_COMPLETE_RESULT>
z_F_i_x_e_d: [UCHAR; 16]
Trait Implementations
sourceimpl Clone for _KSTM_CALLBACK
impl Clone for _KSTM_CALLBACK
sourcefn clone(&self) -> _KSTM_CALLBACK
fn clone(&self) -> _KSTM_CALLBACK
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 _KSTM_CALLBACK
impl Debug for _KSTM_CALLBACK
sourceimpl Default for _KSTM_CALLBACK
impl Default for _KSTM_CALLBACK
sourcefn default() -> _KSTM_CALLBACK
fn default() -> _KSTM_CALLBACK
Returns the “default value” for a type. Read more
impl Copy for _KSTM_CALLBACK
Auto Trait Implementations
impl RefUnwindSafe for _KSTM_CALLBACK
impl Send for _KSTM_CALLBACK
impl Sync for _KSTM_CALLBACK
impl Unpin for _KSTM_CALLBACK
impl UnwindSafe for _KSTM_CALLBACK
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