#[repr(C)]pub struct HardlinkRef {
pub host_ino: u64,
pub path_off: u32,
pub path_len: u32,
}Expand description
A hardlink reference (16 bytes, 8-byte aligned).
Sorted by host_ino, then by path. Only entries with nlink > 1 within the layer.
Fields§
§host_ino: u64Shared host inode number.
path_off: u32String pool offset for full path (e.g. "usr/bin/tool").
path_len: u32Byte length of path.
Trait Implementations§
Source§impl Clone for HardlinkRef
impl Clone for HardlinkRef
Source§fn clone(&self) -> HardlinkRef
fn clone(&self) -> HardlinkRef
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 HardlinkRef
impl Debug for HardlinkRef
impl Copy for HardlinkRef
Auto Trait Implementations§
impl Freeze for HardlinkRef
impl RefUnwindSafe for HardlinkRef
impl Send for HardlinkRef
impl Sync for HardlinkRef
impl Unpin for HardlinkRef
impl UnsafeUnpin for HardlinkRef
impl UnwindSafe for HardlinkRef
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