pub struct KeyHandle { /* private fields */ }
Expand description
Cryptographic key handle
Implementations§
Trait Implementations§
Source§impl Handle for KeyHandle
impl Handle for KeyHandle
fn as_ptr(&self) -> BCRYPT_KEY_HANDLE
fn as_mut_ptr(&mut self) -> *mut BCRYPT_KEY_HANDLE
fn set_property<T: Property>(&self, value: &T::Value) -> Result<()>
fn get_property<T: Property>(&self) -> Result<T::Value>
fn get_property_unsized<T: Property>(&self) -> Result<Box<T::Value>>
impl Send for KeyHandle
Auto Trait Implementations§
impl Freeze for KeyHandle
impl RefUnwindSafe for KeyHandle
impl !Sync for KeyHandle
impl Unpin for KeyHandle
impl UnwindSafe for KeyHandle
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