pub struct KeyProvider;
Expand description
A struct that implements rustls::crypto::KeyProvider.
Trait Implementations§
Source§impl Debug for KeyProvider
impl Debug for KeyProvider
Source§impl KeyProvider for KeyProvider
impl KeyProvider for KeyProvider
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 KeyProvider
impl RefUnwindSafe for KeyProvider
impl Send for KeyProvider
impl Sync for KeyProvider
impl Unpin for KeyProvider
impl UnwindSafe for KeyProvider
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