pub struct WalkEntry {
pub name: String,
pub guest_path: String,
pub kind: &'static str,
pub size: u64,
}Expand description
One directory entry as the guest sees it. Guest-relative path included, because the walk knows it — deriving it afterwards by stripping a host prefix is what leaked host paths into responses.
Fields§
§name: String§guest_path: String§kind: &'static str§size: u64Auto Trait Implementations§
impl Freeze for WalkEntry
impl RefUnwindSafe for WalkEntry
impl Send for WalkEntry
impl Sync for WalkEntry
impl Unpin for WalkEntry
impl UnsafeUnpin for WalkEntry
impl UnwindSafe for WalkEntry
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