pub struct LinuxInodeRecord { /* private fields */ }Expand description
One durable mapping from a scoped stable cloud identity to a FUSE inode and generation.
Implementations§
Source§impl LinuxInodeRecord
impl LinuxInodeRecord
Sourcepub const fn new(
key: CloudItemKey,
inode: LinuxInode,
generation: LinuxInodeGeneration,
) -> Self
pub const fn new( key: CloudItemKey, inode: LinuxInode, generation: LinuxInodeGeneration, ) -> Self
Creates one restored inode record.
Sourcepub const fn inode(&self) -> LinuxInode
pub const fn inode(&self) -> LinuxInode
Returns the restored native inode.
Sourcepub const fn generation(&self) -> LinuxInodeGeneration
pub const fn generation(&self) -> LinuxInodeGeneration
Returns the restored inode generation fence.
Sourcepub fn into_parts(self) -> (CloudItemKey, LinuxInode, LinuxInodeGeneration)
pub fn into_parts(self) -> (CloudItemKey, LinuxInode, LinuxInodeGeneration)
Consumes the record into its durable fields.
Trait Implementations§
Source§impl Clone for LinuxInodeRecord
impl Clone for LinuxInodeRecord
Source§fn clone(&self) -> LinuxInodeRecord
fn clone(&self) -> LinuxInodeRecord
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 LinuxInodeRecord
impl Debug for LinuxInodeRecord
Source§impl PartialEq for LinuxInodeRecord
impl PartialEq for LinuxInodeRecord
impl Eq for LinuxInodeRecord
impl StructuralPartialEq for LinuxInodeRecord
Auto Trait Implementations§
impl Freeze for LinuxInodeRecord
impl RefUnwindSafe for LinuxInodeRecord
impl Send for LinuxInodeRecord
impl Sync for LinuxInodeRecord
impl Unpin for LinuxInodeRecord
impl UnwindSafe for LinuxInodeRecord
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