pub struct Item<'a, Size>(/* private fields */);Implementations§
Source§impl<'a, Size> Item<'a, Size>
impl<'a, Size> Item<'a, Size>
Sourcepub fn ino(&self) -> InodeNumber
pub fn ino(&self) -> InodeNumber
The inode number of the file.
Sourcepub fn links(&self) -> u64
pub fn links(&self) -> u64
Total number of links of the file, both listed (in Self::paths) and unlisted.
Sourcepub fn paths(&self) -> &LinkPathList
pub fn paths(&self) -> &LinkPathList
Paths to the detected links of the file.
Trait Implementations§
Source§impl<'a, Size: Copy> SummarizeHardlinks<Size> for &Item<'a, Size>
impl<'a, Size: Copy> SummarizeHardlinks<Size> for &Item<'a, Size>
Source§type Summary = SingleInodeSummary<Size>
type Summary = SingleInodeSummary<Size>
The result of
SummarizeHardlinks::summarize_hardlinks.Source§fn summarize_hardlinks(self) -> Self::Summary
fn summarize_hardlinks(self) -> Self::Summary
Summarize into a summary of shared links and size.
Source§impl<'a, Size: Copy> SummarizeHardlinks<Size> for Item<'a, Size>
impl<'a, Size: Copy> SummarizeHardlinks<Size> for Item<'a, Size>
Source§type Summary = SingleInodeSummary<Size>
type Summary = SingleInodeSummary<Size>
The result of
SummarizeHardlinks::summarize_hardlinks.Source§fn summarize_hardlinks(self) -> Self::Summary
fn summarize_hardlinks(self) -> Self::Summary
Summarize into a summary of shared links and size.
Auto Trait Implementations§
impl<'a, Size> Freeze for Item<'a, Size>
impl<'a, Size> !RefUnwindSafe for Item<'a, Size>
impl<'a, Size> Send for Item<'a, Size>where
Size: Sync,
impl<'a, Size> Sync for Item<'a, Size>where
Size: Sync,
impl<'a, Size> Unpin for Item<'a, Size>
impl<'a, Size> !UnwindSafe for Item<'a, Size>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<X> Pipe for X
impl<X> Pipe for X
Source§fn pipe_ref<'a, Return, Function>(&'a self, f: Function) -> Returnwhere
Function: FnOnce(&'a Self) -> Return,
fn pipe_ref<'a, Return, Function>(&'a self, f: Function) -> Returnwhere
Function: FnOnce(&'a Self) -> Return,
Source§fn pipe_mut<'a, Return, Function>(&'a mut self, f: Function) -> Returnwhere
Function: FnOnce(&'a mut Self) -> Return,
fn pipe_mut<'a, Return, Function>(&'a mut self, f: Function) -> Returnwhere
Function: FnOnce(&'a mut Self) -> Return,
Source§fn pipe_as_ref<'a, Param, Return, Function>(&'a self, f: Function) -> Return
fn pipe_as_ref<'a, Param, Return, Function>(&'a self, f: Function) -> Return
Apply
f to &self where f takes a single parameter of type Param
and Self implements trait AsRef<Param>. Read moreSource§fn pipe_as_mut<'a, Param, Return, Function>(&'a mut self, f: Function) -> Return
fn pipe_as_mut<'a, Param, Return, Function>(&'a mut self, f: Function) -> Return
Apply
f to &mut self where f takes a single parameter of type Param
and Self implements trait AsMut<Param>. Read moreSource§fn pipe_deref<'a, Param, Return, Function>(&'a self, f: Function) -> Return
fn pipe_deref<'a, Param, Return, Function>(&'a self, f: Function) -> Return
Apply
f to &self where f takes a single parameter of type Param
and Self implements trait Deref<Target = Param>. Read moreSource§fn pipe_deref_mut<'a, Param, Return, Function>(
&'a mut self,
f: Function,
) -> Returnwhere
Self: DerefMut<Target = Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a mut Param) -> Return,
fn pipe_deref_mut<'a, Param, Return, Function>(
&'a mut self,
f: Function,
) -> Returnwhere
Self: DerefMut<Target = Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a mut Param) -> Return,
Apply
f to &mut self where f takes a single parameter of type Param
and Self implements trait DerefMut<Target = Param>. Read moreSource§fn pipe_borrow<'a, Param, Return, Function>(&'a self, f: Function) -> Return
fn pipe_borrow<'a, Param, Return, Function>(&'a self, f: Function) -> Return
Apply
f to &self where f takes a single parameter of type Param
and Self implements trait Borrow<Param>. Read moreSource§fn pipe_borrow_mut<'a, Param, Return, Function>(
&'a mut self,
f: Function,
) -> Return
fn pipe_borrow_mut<'a, Param, Return, Function>( &'a mut self, f: Function, ) -> Return
Apply
f to &mut self where f takes a single parameter of type Param
and Self implements trait BorrowMut<Param>. Read more