pub struct ExternalDispatch<B>where
B: CompletionBackend,{
pub state: *mut (),
pub route: unsafe fn(*mut (), &mut <B as Backend>::Driver, Completion<B>),
pub pump: unsafe fn(*mut (), &mut <B as Backend>::Driver),
}Fields§
§state: *mut ()§route: unsafe fn(*mut (), &mut <B as Backend>::Driver, Completion<B>)§pump: unsafe fn(*mut (), &mut <B as Backend>::Driver)Trait Implementations§
Source§impl<B> Clone for ExternalDispatch<B>where
B: CompletionBackend,
impl<B> Clone for ExternalDispatch<B>where
B: CompletionBackend,
Source§fn clone(&self) -> ExternalDispatch<B>
fn clone(&self) -> ExternalDispatch<B>
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<B> Copy for ExternalDispatch<B>where
B: CompletionBackend,
Auto Trait Implementations§
impl<B> !Send for ExternalDispatch<B>
impl<B> !Sync for ExternalDispatch<B>
impl<B> Freeze for ExternalDispatch<B>
impl<B> RefUnwindSafe for ExternalDispatch<B>
impl<B> Unpin for ExternalDispatch<B>
impl<B> UnsafeUnpin for ExternalDispatch<B>
impl<B> UnwindSafe for ExternalDispatch<B>
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