Struct webrtc_dtls::crypto::CryptoPrivateKey
source · [−]pub struct CryptoPrivateKey {
pub kind: CryptoPrivateKeyKind,
pub serialized_der: Vec<u8>,
}
Fields
kind: CryptoPrivateKeyKind
serialized_der: Vec<u8>
Implementations
sourceimpl CryptoPrivateKey
impl CryptoPrivateKey
pub fn from_key_pair(key_pair: &KeyPair) -> Result<Self, Error>
Trait Implementations
sourceimpl Clone for CryptoPrivateKey
impl Clone for CryptoPrivateKey
Auto Trait Implementations
impl RefUnwindSafe for CryptoPrivateKey
impl Send for CryptoPrivateKey
impl Sync for CryptoPrivateKey
impl Unpin for CryptoPrivateKey
impl UnwindSafe for CryptoPrivateKey
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more