pub struct FfiResponse {
pub status: u16,
pub headers: Vec<(String, String)>,
pub body_handle: u64,
pub url: String,
pub trailers_handle: u64,
}Expand description
Flat response-head struct that crosses the FFI boundary.
Fields§
§status: u16§headers: Vec<(String, String)>§body_handle: u64Handle to a BodyReader containing the response body.
url: StringFull httpi:// URL of the responding peer.
trailers_handle: u64Handle to a trailer receiver.
Trait Implementations§
Source§impl Clone for FfiResponse
impl Clone for FfiResponse
Source§fn clone(&self) -> FfiResponse
fn clone(&self) -> FfiResponse
Returns a duplicate 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 Freeze for FfiResponse
impl RefUnwindSafe for FfiResponse
impl Send for FfiResponse
impl Sync for FfiResponse
impl Unpin for FfiResponse
impl UnsafeUnpin for FfiResponse
impl UnwindSafe for FfiResponse
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