pub struct Rustls {
pub crypto: Option<RustlsCrypto>,
pub alpn: Vec<String>,
}Available on crate feature
client and (crate features native-tls or rustls-aws or rustls-ring) only.Expand description
TLS backend selection re-exported from pimalaya-stream, feeding
MsgraphClientStdConnectOptions::tls.
Rustls-specific TLS options.
Fields§
§crypto: Option<RustlsCrypto>Crypto provider. None falls back to ring if enabled, otherwise
aws-lc-rs.
alpn: Vec<String>ALPN protocol identifiers offered during the handshake (e.g.
vec!["imap".into()]). An empty vec skips ALPN negotiation. Ignored
by native-tls.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Rustls
impl RefUnwindSafe for Rustls
impl Send for Rustls
impl Sync for Rustls
impl Unpin for Rustls
impl UnsafeUnpin for Rustls
impl UnwindSafe for Rustls
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