Struct wasmtime_wasi_http::types::ActiveResponse
source · pub struct ActiveResponse {
pub active: bool,
pub status: u16,
pub headers: Option<u32>,
pub body: Option<u32>,
pub trailers: Option<u32>,
}
Fields§
§active: bool
§status: u16
§headers: Option<u32>
§body: Option<u32>
§trailers: Option<u32>
Trait Implementations§
source§impl Clone for ActiveResponse
impl Clone for ActiveResponse
source§fn clone(&self) -> ActiveResponse
fn clone(&self) -> ActiveResponse
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 ActiveResponse
impl Debug for ActiveResponse
source§impl HttpResponse for ActiveResponse
impl HttpResponse for ActiveResponse
fn new() -> Self
fn as_any(&self) -> &dyn Any
fn status(&self) -> u16
fn headers(&self) -> Option<u32>
fn set_headers(&mut self, headers: u32)
fn body(&self) -> Option<u32>
fn set_body(&mut self, body: u32)
fn trailers(&self) -> Option<u32>
fn set_trailers(&mut self, trailers: u32)
Auto Trait Implementations§
impl RefUnwindSafe for ActiveResponse
impl Send for ActiveResponse
impl Sync for ActiveResponse
impl Unpin for ActiveResponse
impl UnwindSafe for ActiveResponse
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.