pub struct Chain { /* private fields */ }
Expand description
Interceptor chain for processing requests and responses
The chain reuses a reqwest::Client
from the parent Retrofit
instance
to avoid creating a new client for each request, which improves performance
and enables connection pooling.
Implementations§
Source§impl Chain
impl Chain
Auto Trait Implementations§
impl Freeze for Chain
impl !RefUnwindSafe for Chain
impl Send for Chain
impl Sync for Chain
impl Unpin for Chain
impl !UnwindSafe for Chain
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