pub struct TlsServer {
pub cert: PathBuf,
}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.
What the client trusts in the server, beyond the platform store.
Fields§
§cert: PathBufPath to the PEM certificate.
Under rustls it is pinned to the server’s leaf, else used as an extra trust anchor; under native-tls, a root certificate.
Trait Implementations§
Auto Trait Implementations§
impl Forget for TlsServer
impl Freeze for TlsServer
impl Move for TlsServer
impl RefUnwindSafe for TlsServer
impl Send for TlsServer
impl Sync for TlsServer
impl Unpin for TlsServer
impl UnsafeUnpin for TlsServer
impl UnwindSafe for TlsServer
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