pub struct TransportContext { /* private fields */ }Expand description
Values attached by the transport to a request (for example, authenticated claims or HTTP headers). Tower middleware can populate it before the request reaches the server.
Implementations§
Trait Implementations§
Source§impl Clone for TransportContext
impl Clone for TransportContext
Source§impl Debug for TransportContext
impl Debug for TransportContext
Auto Trait Implementations§
impl !RefUnwindSafe for TransportContext
impl !UnwindSafe for TransportContext
impl Freeze for TransportContext
impl Send for TransportContext
impl Sync for TransportContext
impl Unpin for TransportContext
impl UnsafeUnpin for TransportContext
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