pub struct Directory { /* private fields */ }Expand description
Opaque path capability. Native callers must serialize access and preserve ownership.
Implementations§
Source§impl Directory
impl Directory
Sourcepub fn new(
vfs: &'static VirtualFileSystem,
task: TaskIdentifier,
path: &str,
rights: u32,
) -> Result<Self, Status>
pub fn new( vfs: &'static VirtualFileSystem, task: TaskIdentifier, path: &str, rights: u32, ) -> Result<Self, Status>
Validate an absolute directory and retain its canonical path and authority.
Auto Trait Implementations§
impl Freeze for Directory
impl !RefUnwindSafe for Directory
impl Send for Directory
impl Sync for Directory
impl Unpin for Directory
impl UnsafeUnpin for Directory
impl !UnwindSafe for Directory
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