#[repr(C)]pub struct async_state_t {
pub reserved: [usize; 2],
}Expand description
Private state owned by the asynchronous dispatcher. This allows the dispatcher to associate a small amount of state with pending asynchronous operations without having to allocate additional heap storage of its own.
Clients must initialize the contents of this structure to zero using |ASYNC_STATE_INIT| or with calloc, memset, or a similar means.
Fields§
§reserved: [usize; 2]Trait Implementations§
Source§impl Clone for async_state_t
impl Clone for async_state_t
impl Copy for async_state_t
Source§impl Debug for async_state_t
impl Debug for async_state_t
Auto Trait Implementations§
impl Freeze for async_state_t
impl RefUnwindSafe for async_state_t
impl Send for async_state_t
impl Sync for async_state_t
impl Unpin for async_state_t
impl UnsafeUnpin for async_state_t
impl UnwindSafe for async_state_t
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