pub struct NodeHeader {
pub permissions: u16,
pub uid: u32,
pub gid: u32,
pub mtime: u32,
}
Expand description
File information for Node
Fields§
§permissions: u16
§uid: u32
actual value
gid: u32
actual value
mtime: u32
Implementations§
Source§impl NodeHeader
impl NodeHeader
pub fn from_inode( inode_header: InodeHeader, id_table: &[Id], ) -> Result<Self, BackhandError>
Trait Implementations§
Source§impl Clone for NodeHeader
impl Clone for NodeHeader
Source§fn clone(&self) -> NodeHeader
fn clone(&self) -> NodeHeader
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 NodeHeader
impl Debug for NodeHeader
Source§impl Default for NodeHeader
impl Default for NodeHeader
Source§fn default() -> NodeHeader
fn default() -> NodeHeader
Returns the “default value” for a type. Read more
Source§impl PartialEq for NodeHeader
impl PartialEq for NodeHeader
impl Copy for NodeHeader
impl Eq for NodeHeader
impl StructuralPartialEq for NodeHeader
Auto Trait Implementations§
impl Freeze for NodeHeader
impl RefUnwindSafe for NodeHeader
impl Send for NodeHeader
impl Sync for NodeHeader
impl Unpin for NodeHeader
impl UnwindSafe for NodeHeader
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 more