pub struct ProxyTcpConnectionInfo { /* private fields */ }Implementations§
Source§impl ProxyTcpConnectionInfo
impl ProxyTcpConnectionInfo
pub fn new(proxy_address: SocketAddr, authentication: String) -> Self
pub fn authentication(&self) -> &str
pub fn proxy_address(&self) -> SocketAddr
Trait Implementations§
Source§impl Clone for ProxyTcpConnectionInfo
impl Clone for ProxyTcpConnectionInfo
Source§fn clone(&self) -> ProxyTcpConnectionInfo
fn clone(&self) -> ProxyTcpConnectionInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ProxyTcpConnectionInfo
impl RefUnwindSafe for ProxyTcpConnectionInfo
impl Send for ProxyTcpConnectionInfo
impl Sync for ProxyTcpConnectionInfo
impl Unpin for ProxyTcpConnectionInfo
impl UnwindSafe for ProxyTcpConnectionInfo
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