pub struct SlotInfo {
pub description: String,
pub manufacturer: String,
pub token_present: bool,
pub hardware: bool,
pub quorum_id: String,
}Expand description
Slot info (per PKCS#11 CK_SLOT_INFO).
Fields§
§description: StringSlot description (32 bytes in real PKCS#11, here as String).
manufacturer: StringHardware manufacturer ID.
token_present: boolTrue if a token is present.
hardware: boolTrue if hardware (vs software slot).
quorum_id: StringAssociated quorum ID.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SlotInfo
impl<'de> Deserialize<'de> for SlotInfo
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
Auto Trait Implementations§
impl Freeze for SlotInfo
impl RefUnwindSafe for SlotInfo
impl Send for SlotInfo
impl Sync for SlotInfo
impl Unpin for SlotInfo
impl UnsafeUnpin for SlotInfo
impl UnwindSafe for SlotInfo
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