pub struct SlotInfo {
pub num: u8,
pub module_ready: bool,
}Expand description
CA-device slot status (subset of the Linux ca_slot_info the runtime needs).
Fields§
§num: u8Slot number.
module_ready: booltrue once a module is present and ready (CA_CI_MODULE_READY).
Trait Implementations§
impl Copy for SlotInfo
impl Eq for SlotInfo
impl StructuralPartialEq for SlotInfo
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