pub struct TlsClient {
pub cert: PathBuf,
pub key: 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.
The certificate the client presents, with its private key.
Fields§
§cert: PathBufPath to the PEM certificate, optionally followed by intermediates.
key: PathBufPath to the PEM private key.
PKCS#8 under native-tls, rustls also reads PKCS#1 and SEC1.
Trait Implementations§
Auto Trait Implementations§
impl Forget for TlsClient
impl Freeze for TlsClient
impl Move for TlsClient
impl RefUnwindSafe for TlsClient
impl Send for TlsClient
impl Sync for TlsClient
impl Unpin for TlsClient
impl UnsafeUnpin for TlsClient
impl UnwindSafe for TlsClient
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