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 = no wrap on current
sidecars (RFC 023 D4 removed the legacy wrap-iff-port-443 rule);
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