pub struct FileInfo {
pub name: String,
pub path: PathBuf,
pub kind: FileKind,
pub size: u64,
pub mtime_ms: i64,
}Expand description
Mirrors TS FileInfo. path is the absolute addressed (resolved) path —
NOT symlink-canonicalized. mtime_ms is ms since Unix epoch.
Fields§
§name: String§path: PathBuf§kind: FileKind§size: u64§mtime_ms: i64Trait Implementations§
Auto Trait Implementations§
impl Forget for FileInfo
impl Freeze for FileInfo
impl Move for FileInfo
impl RefUnwindSafe for FileInfo
impl Send for FileInfowhere
RawVecInner: Send,
impl Sync for FileInfowhere
RawVecInner: Sync,
impl Unpin for FileInfo
impl UnsafeUnpin for FileInfo
impl UnwindSafe for FileInfowhere
RawVecInner: UnwindSafe,
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