pub struct HsmProviderConfig {
pub provider: HsmProvider,
pub library_path: String,
pub supported_mechanisms: Vec<MechanismType>,
pub notes: Vec<String>,
}Expand description
Provider-specific configuration.
Fields§
§provider: HsmProviderProvider identifier.
library_path: StringDefault PKCS#11 library path.
supported_mechanisms: Vec<MechanismType>Supported PKCS#11 mechanisms.
notes: Vec<String>Provider-specific notes and quirks.
Trait Implementations§
Source§impl Clone for HsmProviderConfig
impl Clone for HsmProviderConfig
Source§fn clone(&self) -> HsmProviderConfig
fn clone(&self) -> HsmProviderConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for HsmProviderConfig
impl RefUnwindSafe for HsmProviderConfig
impl Send for HsmProviderConfig
impl Sync for HsmProviderConfig
impl Unpin for HsmProviderConfig
impl UnsafeUnpin for HsmProviderConfig
impl UnwindSafe for HsmProviderConfig
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