pub struct Dyn(pub &'static dyn KeyProvider);
Expand description
A wrapper for [&'static dyn rustls::crypto::KeyProvider
] that implements
rustls::crypto::KeyProvider
.
Tuple Fields§
§0: &'static dyn KeyProvider
Trait Implementations§
Source§impl KeyProvider for Dyn
impl KeyProvider for Dyn
Source§fn load_private_key(
&self,
key_der: PrivateKeyDer<'static>,
) -> Result<Arc<dyn SigningKey>, Error>
fn load_private_key( &self, key_der: PrivateKeyDer<'static>, ) -> Result<Arc<dyn SigningKey>, Error>
Decode and validate a private signing key from
key_der
. Read moreAuto Trait Implementations§
impl Freeze for Dyn
impl !RefUnwindSafe for Dyn
impl Send for Dyn
impl Sync for Dyn
impl Unpin for Dyn
impl !UnwindSafe for Dyn
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