pub struct RoadmapRuntime { /* private fields */ }Implementations§
Source§impl RoadmapRuntime
impl RoadmapRuntime
pub fn new(workspace: impl Into<PathBuf>, data_dir: impl Into<PathBuf>) -> Self
pub fn events(&self) -> &[RoadmapEvent]
pub fn list_roadmaps(&self) -> Result<Vec<DocumentSummary>>
pub fn open_roadmap(&mut self, path: impl AsRef<Path>) -> Result<Document>
pub fn focus_roadmap_task( &mut self, path: impl AsRef<Path>, task_id: &str, ) -> Result<()>
pub fn set_roadmap_task( &mut self, path: impl AsRef<Path>, task_id: &str, checked: bool, evidence: &str, ) -> Result<()>
pub fn validate_roadmap( &mut self, path: impl AsRef<Path>, ) -> Result<ValidationResult>
pub fn list_roadmap_threads( &self, path: impl AsRef<Path>, ) -> Result<Vec<ThreadAttachment>>
pub fn record_mode_changed(&mut self, path: impl AsRef<Path>) -> Result<()>
pub fn spawn_roadmap_thread( &mut self, path: impl AsRef<Path>, task_id: &str, ) -> Result<ThreadAttachment>
pub fn attach_roadmap_thread( &mut self, path: impl AsRef<Path>, task_id: &str, thread_id: &str, title: Option<String>, ) -> Result<ThreadAttachment>
Trait Implementations§
Source§impl Clone for RoadmapRuntime
impl Clone for RoadmapRuntime
Source§fn clone(&self) -> RoadmapRuntime
fn clone(&self) -> RoadmapRuntime
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RoadmapRuntime
impl RefUnwindSafe for RoadmapRuntime
impl Send for RoadmapRuntime
impl Sync for RoadmapRuntime
impl Unpin for RoadmapRuntime
impl UnsafeUnpin for RoadmapRuntime
impl UnwindSafe for RoadmapRuntime
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