pub struct PrivateKey { /* private fields */ }
Implementations§
Methods from Deref<Target = PK11PrivateKey>§
pub fn convert_to_public_key(&self) -> Result<PublicKey>
Trait Implementations§
Source§impl Deref for PrivateKey
impl Deref for PrivateKey
Source§type Target = PrivateKey
type Target = PrivateKey
The resulting type after dereferencing.
Source§fn deref(&self) -> &PK11PrivateKey
fn deref(&self) -> &PK11PrivateKey
Dereferences the value.
Auto Trait Implementations§
impl Freeze for PrivateKey
impl RefUnwindSafe for PrivateKey
impl Send for PrivateKey
impl !Sync for PrivateKey
impl Unpin for PrivateKey
impl UnwindSafe for PrivateKey
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