pub struct WorkspaceCommands<'a> { /* private fields */ }Implementations§
Source§impl WorkspaceCommands<'_>
impl WorkspaceCommands<'_>
pub fn execute(&mut self, spec: WorkspaceCommandSpec) -> WorkspaceTransition
pub fn refresh(&mut self, request: WorkspaceRequest) -> WorkspaceTransition
pub fn load_catalog(&mut self, request: WorkspaceRequest) -> WorkspaceTransition
pub fn load_index(&mut self, request: WorkspaceRequest) -> WorkspaceTransition
pub fn resolve_linkage( &mut self, request: WorkspaceRequest, ) -> WorkspaceTransition
pub fn refresh_paths( &mut self, request: WorkspaceRequest, paths: Vec<PathBuf>, ) -> WorkspaceTransition
pub fn refresh_changes( &mut self, request: WorkspaceRequest, ) -> WorkspaceTransition
pub fn publish_snapshot( &mut self, publication: WorkspaceSnapshotPublication, ) -> WorkspaceTransition
Trait Implementations§
Source§impl WorkspaceCommandPort for WorkspaceCommands<'_>
impl WorkspaceCommandPort for WorkspaceCommands<'_>
fn execute_command( &mut self, kind: WorkspaceCommandKind, scope_uri: WorkspaceScopeUri, request: WorkspaceRequest, ) -> WorkspaceTransition
fn publish_snapshot( &mut self, publication: WorkspaceSnapshotPublication, ) -> WorkspaceTransition
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for WorkspaceCommands<'a>
impl<'a> !Sync for WorkspaceCommands<'a>
impl<'a> !UnwindSafe for WorkspaceCommands<'a>
impl<'a> Freeze for WorkspaceCommands<'a>
impl<'a> Send for WorkspaceCommands<'a>
impl<'a> Unpin for WorkspaceCommands<'a>
impl<'a> UnsafeUnpin for WorkspaceCommands<'a>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more