Struct socks5_server::connection::associate::Associate
source · [−]pub struct Associate<S> { /* private fields */ }Implementations
sourceimpl Associate<Ready>
impl Associate<Ready>
pub fn local_addr(&self) -> Result<SocketAddr>
pub fn peer_addr(&self) -> Result<SocketAddr>
pub async fn wait_close(&mut self) -> Result<()>
Auto Trait Implementations
impl<S> RefUnwindSafe for Associate<S> where
S: RefUnwindSafe,
impl<S> Send for Associate<S> where
S: Send,
impl<S> Sync for Associate<S> where
S: Sync,
impl<S> Unpin for Associate<S> where
S: Unpin,
impl<S> UnwindSafe for Associate<S> where
S: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more