pub struct DialOpts {
pub tls: Option<bool>,
}Expand description
Options for NetworkProvider::dial_tcp_opts.
Fields§
§tls: Option<bool>Override TLS wrapping of the dial. None preserves the provider’s
legacy behavior (the Tailscale sidecar wraps iff the target port is
443); Some(true) / Some(false) force it on / off (RFC 021 §6.4).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DialOpts
impl RefUnwindSafe for DialOpts
impl Send for DialOpts
impl Sync for DialOpts
impl Unpin for DialOpts
impl UnsafeUnpin for DialOpts
impl UnwindSafe for DialOpts
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