pub struct TaskFile { /* private fields */ }
Expand description
Lazily computed file that holds information about this task. This taskfile does not exist witin the actual filesystem.
Implementations§
Trait Implementations§
source§impl ByteWriter for TaskFile
impl ByteWriter for TaskFile
source§impl File for TaskFile
impl File for TaskFile
source§fn as_mapping(&self) -> Result<&MappedPages, &'static str>
fn as_mapping(&self) -> Result<&MappedPages, &'static str>
Returns a view of this file as an immutable memory-mapped region.
source§impl FsNode for TaskFile
impl FsNode for TaskFile
source§fn get_absolute_path(&self) -> String
fn get_absolute_path(&self) -> String
Recursively gets the absolute pathname as a String
source§fn get_parent_dir(&self) -> Option<DirRef>
fn get_parent_dir(&self) -> Option<DirRef>
Returns the parent directory of the current node.
source§fn set_parent_dir(&mut self, _: WeakDirRef)
fn set_parent_dir(&mut self, _: WeakDirRef)
Sets this node’s parent directory.
This is useful for ensuring correctness when inserting or removing
files or directories from their parent directory.
Auto Trait Implementations§
impl !RefUnwindSafe for TaskFile
impl Send for TaskFile
impl Sync for TaskFile
impl Unpin for TaskFile
impl !UnwindSafe for TaskFile
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