Struct wasix::HttpStatus
source · [−]#[repr(C)]pub struct HttpStatus {
pub ok: Bool,
pub redirected: Bool,
pub size: Filesize,
pub status: u16,
}Fields
ok: Boolredirected: Boolsize: FilesizeSize of the response
status: u16HTTP status code for this response
Trait Implementations
sourceimpl Clone for HttpStatus
impl Clone for HttpStatus
sourcefn clone(&self) -> HttpStatus
fn clone(&self) -> HttpStatus
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for HttpStatus
impl Debug for HttpStatus
impl Copy for HttpStatus
Auto Trait Implementations
impl RefUnwindSafe for HttpStatus
impl Send for HttpStatus
impl Sync for HttpStatus
impl Unpin for HttpStatus
impl UnwindSafe for HttpStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more