pub struct VirtRt { /* private fields */ }
Available on crate feature
virt
only.Implementations§
Trait Implementations§
source§impl IoBackend for VirtRt
impl IoBackend for VirtRt
type Backend = dyn Future<Output = ()> + Send
source§fn polling_handle(&self) -> Option<PollingHandle<'_>>
fn polling_handle(&self) -> Option<PollingHandle<'_>>
Gets handle to the backing event system. Read more
source§fn get_backend(&self) -> BackendHandle<'_, Self::Backend>
fn get_backend(&self) -> BackendHandle<'_, Self::Backend>
Acquires exclusive handle to IO backend. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for VirtRt
impl Send for VirtRt
impl Sync for VirtRt
impl Unpin for VirtRt
impl !UnwindSafe for VirtRt
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
source§impl<T, Handle> IoBackendExt<Handle> for T
impl<T, Handle> IoBackendExt<Handle> for T
source§fn with_backend<F>(
&self,
future: F
) -> (WithBackend<'_, Self::Backend, F>, Option<PollingHandle<'_>>)where
F: Future,
fn with_backend<F>(
&self,
future: F
) -> (WithBackend<'_, Self::Backend, F>, Option<PollingHandle<'_>>)where
F: Future,
Builds a composite future that also polls the backend future. Read more