pub struct TlsKey { /* private fields */ }
Implementations§
Source§impl TlsKey
impl TlsKey
pub const fn new( key: PrivateKeyDer<'static>, cert: CertificateDer<'static>, ) -> TlsKey
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TlsKey
impl RefUnwindSafe for TlsKey
impl Send for TlsKey
impl Sync for TlsKey
impl Unpin for TlsKey
impl UnwindSafe for TlsKey
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