#[repr(C)]pub struct AsyncContext {
pub _address: u8,
}Fields§
§_address: u8Implementations§
Source§impl AsyncContext
impl AsyncContext
pub fn has_done(&mut self) -> bool
pub fn get_result(&mut self) -> u32
pub fn cancel(&mut self)
pub fn get_system_event(&mut self) -> SystemEvent
pub fn new() -> AsyncContext
Trait Implementations§
Source§impl Clone for AsyncContext
impl Clone for AsyncContext
Source§fn clone(&self) -> AsyncContext
fn clone(&self) -> AsyncContext
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 AsyncContext
impl Debug for AsyncContext
impl Copy for AsyncContext
Auto Trait Implementations§
impl Freeze for AsyncContext
impl RefUnwindSafe for AsyncContext
impl Send for AsyncContext
impl Sync for AsyncContext
impl Unpin for AsyncContext
impl UnsafeUnpin for AsyncContext
impl UnwindSafe for AsyncContext
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