Enum procfs::keyring::KeyTimeout
source · [−]pub enum KeyTimeout {
Permanent,
Expired,
Timeout(Duration),
}
Variants
Permanent
Expired
Timeout(Duration)
Trait Implementations
sourceimpl Clone for KeyTimeout
impl Clone for KeyTimeout
sourcefn clone(&self) -> KeyTimeout
fn clone(&self) -> KeyTimeout
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 more
sourceimpl Debug for KeyTimeout
impl Debug for KeyTimeout
sourceimpl PartialEq<KeyTimeout> for KeyTimeout
impl PartialEq<KeyTimeout> for KeyTimeout
sourcefn eq(&self, other: &KeyTimeout) -> bool
fn eq(&self, other: &KeyTimeout) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Eq for KeyTimeout
impl StructuralEq for KeyTimeout
impl StructuralPartialEq for KeyTimeout
Auto Trait Implementations
impl RefUnwindSafe for KeyTimeout
impl Send for KeyTimeout
impl Sync for KeyTimeout
impl Unpin for KeyTimeout
impl UnwindSafe for KeyTimeout
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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