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
Source§impl<'de> Deserialize<'de> for BackendType
impl<'de> Deserialize<'de> for BackendType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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§impl PartialOrd for BackendType
impl PartialOrd for BackendType
Source§impl Serialize for BackendType
impl Serialize 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