#[repr(C)]pub struct PosixStat {}Expand description
POSIX-like stat structure with birthtime support for node:fs.
Mirrors libuv’s uv_stat_t (all uint64_t fields) so the native → JS
conversion matches Node.js exactly.
Fields§
§dev: u64§ino: u64§mode: u64§nlink: u64§uid: u64§gid: u64§rdev: u64§size: u64§blksize: u64§blocks: u64§atim: TimespecAccess time
mtim: TimespecModification time
ctim: TimespecChange time (metadata)
birthtim: TimespecBirth time (creation time) - may be zero if not supported
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PosixStat
impl RefUnwindSafe for PosixStat
impl Send for PosixStat
impl Sync for PosixStat
impl Unpin for PosixStat
impl UnsafeUnpin for PosixStat
impl UnwindSafe for PosixStat
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