Struct wasmtime_wasi::sync::sched::SyncSched
source · pub struct SyncSched {}
Implementations§
Trait Implementations§
source§impl WasiSched for SyncSched
impl WasiSched for SyncSched
fn poll_oneoff<'a, 'life0, 'life1, 'async_trait>( &'life0 self, poll: &'life1 mut Poll<'a> ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait, Global>>where 'a: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, SyncSched: 'async_trait,
fn sched_yield<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, SyncSched: 'async_trait,
fn sleep<'life0, 'async_trait>( &'life0 self, duration: Duration ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, SyncSched: 'async_trait,
Auto Trait Implementations§
impl RefUnwindSafe for SyncSched
impl Send for SyncSched
impl Sync for SyncSched
impl Unpin for SyncSched
impl UnwindSafe for SyncSched
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
§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where T: AsFilelike,
Query the “status” flags for the
self
file descriptor.