pub enum BackendType {
NetHsm,
YubiHsm2,
}Expand description
The type of a supported HSM backend.
Variants§
Implementations§
Source§impl BackendType
impl BackendType
Sourcepub fn client_unix_groups(&self) -> HashMap<&str, &[&str]>
pub fn client_unix_groups(&self) -> HashMap<&str, &[&str]>
Returns the required Unix groups for an operating system to connect to a given backend.
The returned HashMap uses the ID of an OS in the os-release format as key.
Trait Implementations§
Source§impl Clone for BackendType
impl Clone for BackendType
Source§fn clone(&self) -> BackendType
fn clone(&self) -> BackendType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BackendType
Source§impl Debug for BackendType
impl Debug for BackendType
impl Eq for BackendType
Source§impl Ord for BackendType
impl Ord for BackendType
Source§fn cmp(&self, other: &BackendType) -> Ordering
fn cmp(&self, other: &BackendType) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BackendType
impl PartialEq for BackendType
Source§fn eq(&self, other: &BackendType) -> bool
fn eq(&self, other: &BackendType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for BackendType
impl PartialOrd for BackendType
impl StructuralPartialEq for BackendType
Auto Trait Implementations§
impl Freeze for BackendType
impl RefUnwindSafe for BackendType
impl Send for BackendType
impl Sync for BackendType
impl Unpin for BackendType
impl UnsafeUnpin for BackendType
impl UnwindSafe for BackendType
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