pub struct WorkspaceConfig { /* private fields */ }Implementations§
Source§impl WorkspaceConfig
impl WorkspaceConfig
pub fn new( workspace_id: WorkspaceId, root: impl AsRef<Path>, ) -> Result<Self, NodeServerError>
pub fn workspace_id(&self) -> &WorkspaceId
pub fn canonical_root(&self) -> &str
pub fn with_worktree_service_mode(self, mode: WorktreeServiceMode) -> Self
pub fn with_managed_worktree_profile( self, profile: ManagedWorktreeProfile, ) -> Result<Self, NodeServerError>
Trait Implementations§
Source§impl Clone for WorkspaceConfig
impl Clone for WorkspaceConfig
Source§impl Debug for WorkspaceConfig
impl Debug for WorkspaceConfig
impl Eq for WorkspaceConfig
Source§impl PartialEq for WorkspaceConfig
impl PartialEq for WorkspaceConfig
impl StructuralPartialEq for WorkspaceConfig
Auto Trait Implementations§
impl Freeze for WorkspaceConfig
impl RefUnwindSafe for WorkspaceConfig
impl Send for WorkspaceConfig
impl Sync for WorkspaceConfig
impl Unpin for WorkspaceConfig
impl UnsafeUnpin for WorkspaceConfig
impl UnwindSafe for WorkspaceConfig
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