#[repr(C)]pub struct __wt_async_callback {
pub notify: Option<unsafe extern "C" fn(cb: *mut WT_ASYNC_CALLBACK, op: *mut WT_ASYNC_OP, op_ret: c_int, flags: u32) -> c_int>,
}Expand description
Public forward structure declarations
Fields§
§notify: Option<unsafe extern "C" fn(cb: *mut WT_ASYNC_CALLBACK, op: *mut WT_ASYNC_OP, op_ret: c_int, flags: u32) -> c_int>Callback to receive completion notification.
@param[in] op the operation handle @param[in] op_ret the result of the async operation @param[in] flags currently unused @returns zero for success, non-zero to indicate an error.
@snippet ex_async.c async example callback implementation
Trait Implementations§
Source§impl Clone for __wt_async_callback
impl Clone for __wt_async_callback
Source§fn clone(&self) -> __wt_async_callback
fn clone(&self) -> __wt_async_callback
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 Debug for __wt_async_callback
impl Debug for __wt_async_callback
impl Copy for __wt_async_callback
Auto Trait Implementations§
impl Freeze for __wt_async_callback
impl RefUnwindSafe for __wt_async_callback
impl Send for __wt_async_callback
impl Sync for __wt_async_callback
impl Unpin for __wt_async_callback
impl UnwindSafe for __wt_async_callback
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