pub struct OutboundContext { /* private fields */ }Expand description
Context passed to outbound transformation stages.
Implementations§
Source§impl OutboundContext
impl OutboundContext
pub fn id(&self) -> u64
pub fn peer_addr(&self) -> SocketAddr
pub fn local_addr(&self) -> SocketAddr
Auto Trait Implementations§
impl Freeze for OutboundContext
impl RefUnwindSafe for OutboundContext
impl Send for OutboundContext
impl Sync for OutboundContext
impl Unpin for OutboundContext
impl UnsafeUnpin for OutboundContext
impl UnwindSafe for OutboundContext
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