pub struct HttpOutcome {
pub status: i32,
pub body: Vec<u8>,
pub error: String,
}Expand description
The result of driving a handler through the C++ interface.
Fields§
§status: i32§body: Vec<u8>§error: StringTrait Implementations§
Source§impl Clone for HttpOutcome
impl Clone for HttpOutcome
Source§fn clone(&self) -> HttpOutcome
fn clone(&self) -> HttpOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HttpOutcome
impl Debug for HttpOutcome
impl Eq for HttpOutcome
Source§impl PartialEq for HttpOutcome
impl PartialEq for HttpOutcome
impl StructuralPartialEq for HttpOutcome
Auto Trait Implementations§
impl Freeze for HttpOutcome
impl RefUnwindSafe for HttpOutcome
impl Send for HttpOutcome
impl Sync for HttpOutcome
impl Unpin for HttpOutcome
impl UnsafeUnpin for HttpOutcome
impl UnwindSafe for HttpOutcome
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