Enum twizzler_abi::syscall::LifetimeType
source · #[repr(C)]pub enum LifetimeType {
Volatile,
Persistent,
}
Expand description
The base lifetime type of the object. Note that this does not ensure that the object is stored in a specific type of memory, the kernel is allowed to migrate objects with the Normal BackingType as it sees fit. For more information on object lifetime, see the book.
Variants§
Volatile
This object is volatile, and is expected to be deleted after a power cycle.
Persistent
This object is persistent, and should be deleted only after an explicit delete call.
Trait Implementations§
source§impl Clone for LifetimeType
impl Clone for LifetimeType
source§fn clone(&self) -> LifetimeType
fn clone(&self) -> LifetimeType
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 LifetimeType
impl Debug for LifetimeType
source§impl Ord for LifetimeType
impl Ord for LifetimeType
source§fn cmp(&self, other: &LifetimeType) -> Ordering
fn cmp(&self, other: &LifetimeType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<LifetimeType> for LifetimeType
impl PartialEq<LifetimeType> for LifetimeType
source§fn eq(&self, other: &LifetimeType) -> bool
fn eq(&self, other: &LifetimeType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<LifetimeType> for LifetimeType
impl PartialOrd<LifetimeType> for LifetimeType
source§fn partial_cmp(&self, other: &LifetimeType) -> Option<Ordering>
fn partial_cmp(&self, other: &LifetimeType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for LifetimeType
impl Eq for LifetimeType
impl StructuralEq for LifetimeType
impl StructuralPartialEq for LifetimeType
Auto Trait Implementations§
impl ObjSafe for LifetimeType
impl RefUnwindSafe for LifetimeType
impl Send for LifetimeType
impl Sync for LifetimeType
impl Unpin for LifetimeType
impl UnwindSafe for LifetimeType
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