pub struct DirEntry {
pub name: String,
pub mode: u32,
pub size: u32,
pub mtime: u32,
}Expand description
Entry from a remote directory listing.
Fields§
§name: StringFile name (without path).
mode: u32File mode (type + permissions).
size: u32File size in bytes (32-bit, from sync v1 protocol).
mtime: u32Last modification time as seconds since the Unix epoch.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DirEntry
impl RefUnwindSafe for DirEntry
impl Send for DirEntry
impl Sync for DirEntry
impl Unpin for DirEntry
impl UnsafeUnpin for DirEntry
impl UnwindSafe for DirEntry
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