pub struct SslConfig {
pub ca_cert_pem: Vec<u8>,
pub our_cert_pem: Vec<u8>,
pub our_key_pem: Vec<u8>,
}Expand description
Configuration for an SSL torrent’s TLS layer.
Fields§
§ca_cert_pem: Vec<u8>The CA certificate from the .torrent file’s info dict.
our_cert_pem: Vec<u8>Our client/server certificate (PEM).
our_key_pem: Vec<u8>Our private key (PEM).
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 UnsafeUnpin 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