struct SocksConfig {
proxy: Uri,
local_dns: bool,
}
Fields§
§proxy: Uri
§local_dns: bool
Implementations§
Trait Implementations§
Source§impl Clone for SocksConfig
impl Clone for SocksConfig
Source§fn clone(&self) -> SocksConfig
fn clone(&self) -> SocksConfig
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 SocksConfig
impl RefUnwindSafe for SocksConfig
impl Send for SocksConfig
impl Sync for SocksConfig
impl Unpin for SocksConfig
impl UnwindSafe for SocksConfig
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