pub struct FsStruct {
pub cwd: Option<Arc<Dentry>>,
pub root: Option<Arc<Dentry>>,
}Expand description
文件系统信息相关结构体
Fields§
§cwd: Option<Arc<Dentry>>当前工作目录
root: Option<Arc<Dentry>>根目录
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FsStruct
impl !RefUnwindSafe for FsStruct
impl Send for FsStruct
impl Sync for FsStruct
impl Unpin for FsStruct
impl !UnwindSafe for FsStruct
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)