pub struct Next<'a, T: Interceptable> { /* private fields */ }Expand description
Handle to invoke the next interceptor in the chain (or the final operation).
Next is Clone, which is essential for retry interceptors that need to
call the chain multiple times. Cloning is cheap - it only clones references.
Implementations§
Trait Implementations§
Source§impl<T: Interceptable> Clone for Next<'_, T>
impl<T: Interceptable> Clone for Next<'_, T>
impl<T: Interceptable> Copy for Next<'_, T>
Auto Trait Implementations§
impl<'a, T> Freeze for Next<'a, T>
impl<'a, T> !RefUnwindSafe for Next<'a, T>
impl<'a, T> Send for Next<'a, T>
impl<'a, T> Sync for Next<'a, T>
impl<'a, T> Unpin for Next<'a, T>
impl<'a, T> !UnwindSafe for Next<'a, T>
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