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>>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>>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>>where
'life0: 'async_trait,
SyncSched: 'async_trait,
Auto Trait Implementations§
impl Freeze for SyncSched
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
source§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
source§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.source§fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
source§fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
Set the “status” flags for the
self
file descriptor. Read more