pub struct LinuxNamespaceItem { /* private fields */ }Expand description
Stable namespace item materialized by a product transaction.
Implementations§
Source§impl LinuxNamespaceItem
impl LinuxNamespaceItem
Sourcepub const fn new(
item: CloudItem,
inode_record: LinuxInodeRecord,
mutation_intent: MutationIntent,
) -> Self
pub const fn new( item: CloudItem, inode_record: LinuxInodeRecord, mutation_intent: MutationIntent, ) -> Self
Creates a durable namespace item with its stable native mapping and mutation intent.
Sourcepub const fn item(&self) -> &CloudItem
pub const fn item(&self) -> &CloudItem
Returns current product-neutral metadata for the local namespace overlay.
Sourcepub const fn inode_record(&self) -> &LinuxInodeRecord
pub const fn inode_record(&self) -> &LinuxInodeRecord
Returns the stable inode/generation record preserved across rename and restart.
Sourcepub const fn mutation_intent(&self) -> &MutationIntent
pub const fn mutation_intent(&self) -> &MutationIntent
Returns the durable core mutation that produced this local overlay state.
Sourcepub fn into_parts(self) -> (CloudItem, LinuxInodeRecord, MutationIntent)
pub fn into_parts(self) -> (CloudItem, LinuxInodeRecord, MutationIntent)
Consumes the item into its durable fields.
Trait Implementations§
Source§impl Clone for LinuxNamespaceItem
impl Clone for LinuxNamespaceItem
Source§fn clone(&self) -> LinuxNamespaceItem
fn clone(&self) -> LinuxNamespaceItem
Returns a duplicate 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 LinuxNamespaceItem
impl Debug for LinuxNamespaceItem
Source§impl From<LinuxCreatedFile> for LinuxNamespaceItem
impl From<LinuxCreatedFile> for LinuxNamespaceItem
Source§fn from(value: LinuxCreatedFile) -> Self
fn from(value: LinuxCreatedFile) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LinuxNamespaceItem
impl PartialEq for LinuxNamespaceItem
impl Eq for LinuxNamespaceItem
impl StructuralPartialEq for LinuxNamespaceItem
Auto Trait Implementations§
impl Freeze for LinuxNamespaceItem
impl RefUnwindSafe for LinuxNamespaceItem
impl Send for LinuxNamespaceItem
impl Sync for LinuxNamespaceItem
impl Unpin for LinuxNamespaceItem
impl UnwindSafe for LinuxNamespaceItem
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