Struct tower::load::completion::CompleteOnResponse
source · #[non_exhaustive]pub struct CompleteOnResponse;
Expand description
A TrackCompletion
implementation that considers the request completed when the response
future is resolved.
Trait Implementations§
source§impl Clone for CompleteOnResponse
impl Clone for CompleteOnResponse
source§fn clone(&self) -> CompleteOnResponse
fn clone(&self) -> CompleteOnResponse
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 CompleteOnResponse
impl Debug for CompleteOnResponse
source§impl Default for CompleteOnResponse
impl Default for CompleteOnResponse
source§fn default() -> CompleteOnResponse
fn default() -> CompleteOnResponse
Returns the “default value” for a type. Read more
source§impl<H, V> TrackCompletion<H, V> for CompleteOnResponse
impl<H, V> TrackCompletion<H, V> for CompleteOnResponse
source§fn track_completion(&self, handle: H, value: V) -> V
fn track_completion(&self, handle: H, value: V) -> V
Attaches a
H
-typed handle to a V
-typed value.impl Copy for CompleteOnResponse
Auto Trait Implementations§
impl Freeze for CompleteOnResponse
impl RefUnwindSafe for CompleteOnResponse
impl Send for CompleteOnResponse
impl Sync for CompleteOnResponse
impl Unpin for CompleteOnResponse
impl UnwindSafe for CompleteOnResponse
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)