pub struct LinuxCreatedFile { /* private fields */ }Expand description
Durable product allocation restored into the local Linux namespace.
Implementations§
Source§impl LinuxCreatedFile
impl LinuxCreatedFile
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 local namespace record from product-allocated values.
Sourcepub const fn inode_record(&self) -> &LinuxInodeRecord
pub const fn inode_record(&self) -> &LinuxInodeRecord
Returns the stable Linux inode/generation allocation.
Sourcepub const fn mutation_intent(&self) -> &MutationIntent
pub const fn mutation_intent(&self) -> &MutationIntent
Returns the create mutation intent persisted in the same product transaction.
Sourcepub fn into_parts(self) -> (CloudItem, LinuxInodeRecord, MutationIntent)
pub fn into_parts(self) -> (CloudItem, LinuxInodeRecord, MutationIntent)
Consumes the record into its durable fields.
Trait Implementations§
Source§impl Clone for LinuxCreatedFile
impl Clone for LinuxCreatedFile
Source§fn clone(&self) -> LinuxCreatedFile
fn clone(&self) -> LinuxCreatedFile
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 LinuxCreatedFile
impl Debug for LinuxCreatedFile
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 LinuxCreatedFile
impl PartialEq for LinuxCreatedFile
impl Eq for LinuxCreatedFile
impl StructuralPartialEq for LinuxCreatedFile
Auto Trait Implementations§
impl Freeze for LinuxCreatedFile
impl RefUnwindSafe for LinuxCreatedFile
impl Send for LinuxCreatedFile
impl Sync for LinuxCreatedFile
impl Unpin for LinuxCreatedFile
impl UnwindSafe for LinuxCreatedFile
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