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
sourceimpl Clone for KeySerialId
impl Clone for KeySerialId
sourcefn clone(&self) -> KeySerialId
fn clone(&self) -> KeySerialId
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for KeySerialId
impl Debug for KeySerialId
sourceimpl From<KeySerialId> for i32
impl From<KeySerialId> for i32
Allow easy conversion from i32 to KeySerialId
sourcefn from(id: KeySerialId) -> i32
fn from(id: KeySerialId) -> i32
Converts to this type from the input type.
sourceimpl PartialEq<KeySerialId> for KeySerialId
impl PartialEq<KeySerialId> for KeySerialId
sourcefn eq(&self, other: &KeySerialId) -> bool
fn eq(&self, other: &KeySerialId) -> bool
sourceimpl TryFrom<u64> for KeySerialId
impl TryFrom<u64> for KeySerialId
Allow easy conversion from u64 to KeySerialId
impl Copy for KeySerialId
impl Eq for KeySerialId
impl StructuralEq for KeySerialId
impl StructuralPartialEq for KeySerialId
Auto Trait Implementations
impl RefUnwindSafe for KeySerialId
impl Send for KeySerialId
impl Sync for KeySerialId
impl Unpin for KeySerialId
impl UnwindSafe for KeySerialId
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more