pub struct SslConfig {
pub certificate: Vec<u8>,
pub private_key: Vec<u8>,
}
Expand description
Configuration of the server for SSL.
Fields§
§certificate: Vec<u8>
Contains the public certificate to send to clients.
private_key: Vec<u8>
Contains the ultra-secret private key used to decode communications.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SslConfig
impl RefUnwindSafe for SslConfig
impl Send for SslConfig
impl Sync for SslConfig
impl Unpin for SslConfig
impl UnwindSafe for SslConfig
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