pub struct FileInfo {
pub path: PathBuf,
pub name: String,
pub kind: SimpleFileKind,
}Fields§
§path: PathBuf§name: StringThe entry name, lossily decoded.
Names that are not valid UTF-8 still produce a usable FileInfo; path remains
the authoritative value for any filesystem operation.
kind: SimpleFileKindTrait Implementations§
impl Eq for FileInfo
impl StructuralPartialEq for FileInfo
Auto Trait Implementations§
impl Freeze for FileInfo
impl RefUnwindSafe for FileInfo
impl Send for FileInfo
impl Sync for FileInfo
impl Unpin for FileInfo
impl UnsafeUnpin for FileInfo
impl UnwindSafe for FileInfo
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