Struct wasmtime_wasi_http::types::ActiveRequest
source · pub struct ActiveRequest {
pub active: bool,
pub method: Method,
pub scheme: Option<Scheme>,
pub path_with_query: String,
pub authority: String,
pub headers: Option<u32>,
pub body: Option<u32>,
}
Fields§
§active: bool
§method: Method
§scheme: Option<Scheme>
§path_with_query: String
§headers: Option<u32>
§body: Option<u32>
Trait Implementations§
source§impl Clone for ActiveRequest
impl Clone for ActiveRequest
source§fn clone(&self) -> ActiveRequest
fn clone(&self) -> ActiveRequest
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 moresource§impl Debug for ActiveRequest
impl Debug for ActiveRequest
source§impl HttpRequest for ActiveRequest
impl HttpRequest for ActiveRequest
fn new() -> Self
fn as_any(&self) -> &dyn Any
fn method(&self) -> &Method
fn scheme(&self) -> &Option<Scheme>
fn path_with_query(&self) -> &str
fn headers(&self) -> Option<u32>
fn set_headers(&mut self, headers: u32)
fn body(&self) -> Option<u32>
fn set_body(&mut self, body: u32)
Auto Trait Implementations§
impl RefUnwindSafe for ActiveRequest
impl Send for ActiveRequest
impl Sync for ActiveRequest
impl Unpin for ActiveRequest
impl UnwindSafe for ActiveRequest
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.