pub enum LinuxLayout {
Lp64,
Ilp32,
}Expand description
A supported little-endian Linux PKCS#11 data model.
Variants§
Implementations§
Source§impl LinuxLayout
impl LinuxLayout
Sourcepub const fn word_bytes(self) -> usize
pub const fn word_bytes(self) -> usize
Size in bytes of a pointer and CK_ULONG in this data model.
Sourcepub const fn interface(self) -> InterfaceLayout
pub const fn interface(self) -> InterfaceLayout
Layout of one CK_INTERFACE entry: name pointer, function-list pointer, flags.
Trait Implementations§
Source§impl Clone for LinuxLayout
impl Clone for LinuxLayout
Source§fn clone(&self) -> LinuxLayout
fn clone(&self) -> LinuxLayout
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 LinuxLayout
Source§impl Debug for LinuxLayout
impl Debug for LinuxLayout
impl Eq for LinuxLayout
Source§impl PartialEq for LinuxLayout
impl PartialEq for LinuxLayout
impl StructuralPartialEq for LinuxLayout
Auto Trait Implementations§
impl Freeze for LinuxLayout
impl RefUnwindSafe for LinuxLayout
impl Send for LinuxLayout
impl Sync for LinuxLayout
impl Unpin for LinuxLayout
impl UnsafeUnpin for LinuxLayout
impl UnwindSafe for LinuxLayout
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