Struct linux_keyutils::KeySerialId
source · #[repr(transparent)]pub struct KeySerialId(pub i32);
Expand description
Primary kernel identifier for a key or keyring.
Tuple Fields§
§0: i32
Implementations§
Trait Implementations§
source§impl Clone for KeySerialId
impl Clone for KeySerialId
source§fn clone(&self) -> KeySerialId
fn clone(&self) -> KeySerialId
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for KeySerialId
impl Debug for KeySerialId
source§impl From<KeySerialId> for i32
impl From<KeySerialId> for i32
Allow easy conversion from i32 to KeySerialId
source§fn from(id: KeySerialId) -> i32
fn from(id: KeySerialId) -> i32
Converts to this type from the input type.
source§impl PartialEq<KeySerialId> for KeySerialId
impl PartialEq<KeySerialId> for KeySerialId
source§fn eq(&self, other: &KeySerialId) -> bool
fn eq(&self, other: &KeySerialId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u64> for KeySerialId
impl TryFrom<u64> for KeySerialId
Allow easy conversion from u64 to KeySerialId