pub struct ConnParams { /* private fields */ }
Implementations§
Source§impl ConnParams
impl ConnParams
pub fn new( socks_addr: SocketAddr, dest_addr: SocketAddrV4, ident: String, command: Command, timeouts: Timeouts, ) -> ConnParams
Auto Trait Implementations§
impl Freeze for ConnParams
impl RefUnwindSafe for ConnParams
impl Send for ConnParams
impl Sync for ConnParams
impl Unpin for ConnParams
impl UnwindSafe for ConnParams
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