pub struct RouteFetchResponse { /* private fields */ }Expand description
A response returned by Route::fetch, capturing the full body so that
accessors are cheap. Used to inspect (and optionally modify) the real
response before fulfilling the route.
Implementations§
Trait Implementations§
Source§impl Clone for RouteFetchResponse
impl Clone for RouteFetchResponse
Source§fn clone(&self) -> RouteFetchResponse
fn clone(&self) -> RouteFetchResponse
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 moreAuto Trait Implementations§
impl Freeze for RouteFetchResponse
impl RefUnwindSafe for RouteFetchResponse
impl Send for RouteFetchResponse
impl Sync for RouteFetchResponse
impl Unpin for RouteFetchResponse
impl UnsafeUnpin for RouteFetchResponse
impl UnwindSafe for RouteFetchResponse
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