Struct wasmtime_wasi_http::types::ActiveFuture
source · pub struct ActiveFuture { /* private fields */ }
Implementations§
source§impl ActiveFuture
impl ActiveFuture
pub fn new(request_id: OutgoingRequest, options: Option<RequestOptions>) -> Self
pub fn request_id(&self) -> u32
pub fn options(&self) -> Option<RequestOptions>
pub fn response_id(&self) -> Option<u32>
pub fn set_response_id(&mut self, response_id: u32)
pub fn pollable_id(&self) -> Option<u32>
pub fn set_pollable_id(&mut self, pollable_id: u32)
Trait Implementations§
source§impl Clone for ActiveFuture
impl Clone for ActiveFuture
source§fn clone(&self) -> ActiveFuture
fn clone(&self) -> ActiveFuture
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for ActiveFuture
impl Send for ActiveFuture
impl Sync for ActiveFuture
impl Unpin for ActiveFuture
impl UnwindSafe for ActiveFuture
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.