pub struct SocksClient { /* private fields */ }Implementations§
Source§impl SocksClient
impl SocksClient
pub async fn connect( &mut self, addr: impl ToSocksAddress, ) -> SocksResult<TcpStream>
Auto Trait Implementations§
impl !Freeze for SocksClient
impl RefUnwindSafe for SocksClient
impl Send for SocksClient
impl Sync for SocksClient
impl Unpin for SocksClient
impl UnwindSafe for SocksClient
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