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