pub struct ServerTls {
pub cert_path: PathBuf,
pub key_path: PathBuf,
}Expand description
Server-side TLS material (SRV-040). Presence of this on the listener config turns TLS on for that deployment; absence keeps it plaintext.
Fields§
§cert_path: PathBufPEM certificate chain path.
key_path: PathBufPEM private key path (PKCS#8 / RSA / SEC1).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ServerTls
impl RefUnwindSafe for ServerTls
impl Send for ServerTls
impl Sync for ServerTls
impl Unpin for ServerTls
impl UnsafeUnpin for ServerTls
impl UnwindSafe for ServerTls
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