Trait FastlyAsyncIo
Source pub trait FastlyAsyncIo {
// Required methods
fn select<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
mem: &'life1 mut GuestMemory<'life2>,
hs: GuestPtr<[AsyncItemHandle]>,
timeout_ms: u32,
) -> Pin<Box<dyn Future<Output = Result<ReadyIdx, Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
fn is_ready(
&mut self,
mem: &mut GuestMemory<'_>,
handle: AsyncItemHandle,
) -> Result<IsDone, Error>;
}