pub struct TaskStore { /* private fields */ }Implementations§
Source§impl TaskStore
impl TaskStore
pub fn from_system() -> Option<Self>
pub fn new(file: PathBuf) -> Self
pub fn tasks(&self, subject: &str) -> Result<Vec<TaskRef>>
pub fn record(&self, subject: &str, entry: TaskRef) -> Result<()>
Sourcepub fn all(&self) -> Result<Vec<SubjectTaskRef>>
pub fn all(&self) -> Result<Vec<SubjectTaskRef>>
Every reference the file holds, with the subject that owns it.
Trait Implementations§
Auto Trait Implementations§
impl Forget for TaskStore
impl Freeze for TaskStore
impl Move for TaskStore
impl RefUnwindSafe for TaskStore
impl Send for TaskStorewhere
RawVecInner: Send,
impl Sync for TaskStorewhere
RawVecInner: Sync,
impl Unpin for TaskStore
impl UnsafeUnpin for TaskStore
impl UnwindSafe for TaskStorewhere
RawVecInner: UnwindSafe,
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