pub struct ShutdownHandle {}Expand description
A handle that, when dropped, will free all algorithm providers initialized by this crate.
Where possible this crate aims to use the shared providers described in https://learn.microsoft.com/en-us/windows/win32/seccng/cng-algorithm-pseudo-handles.
This should be created once at the start of the program and dropped at the end.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ShutdownHandle
impl RefUnwindSafe for ShutdownHandle
impl Send for ShutdownHandle
impl Sync for ShutdownHandle
impl Unpin for ShutdownHandle
impl UnwindSafe for ShutdownHandle
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