pub struct NodeWorkspace { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Debug for NodeWorkspace
impl Debug for NodeWorkspace
Source§impl Workspace for NodeWorkspace
impl Workspace for NodeWorkspace
fn name(&self) -> Option<&str>
fn path(&self) -> &Path
fn version(&self) -> Option<&str>
fn update_version<'life0, 'async_trait>(
&'life0 self,
update_type: UpdateType,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn language(&self) -> Language
fn is_changed(&self) -> bool
fn set_changed(&mut self, changed: bool)
fn relative_path(&self) -> &Path
fn check_changed(&mut self, path: &Path) -> Result<(), Error>
Auto Trait Implementations§
impl Freeze for NodeWorkspace
impl RefUnwindSafe for NodeWorkspace
impl Send for NodeWorkspace
impl Sync for NodeWorkspace
impl Unpin for NodeWorkspace
impl UnwindSafe for NodeWorkspace
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