pub struct Net {
pub allow_private: bool,
pub tls: Arc<ClientConfig>,
}Expand description
Where and how outbound connections may go.
Fields§
§allow_private: boolAllow loopback, private and other non-public destinations.
tls: Arc<ClientConfig>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Net
impl !UnwindSafe for Net
impl Freeze for Net
impl Send for Net
impl Sync for Net
impl Unpin for Net
impl UnsafeUnpin for Net
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