pub struct CSharpWorkspace { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Debug for CSharpWorkspace
impl Debug for CSharpWorkspace
Source§impl Workspace for CSharpWorkspace
impl Workspace for CSharpWorkspace
fn name(&self) -> Option<&str>
fn path(&self) -> &Path
fn version(&self) -> Option<&str>
Source§fn update_version<'life0, 'async_trait>(
&'life0 mut self,
update_type: UpdateType,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn update_version<'life0, 'async_trait>(
&'life0 mut self,
update_type: UpdateType,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Errors Read more
fn language(&self) -> Language
fn is_changed(&self) -> bool
fn set_changed(&mut self, changed: bool)
fn relative_path(&self) -> &Path
Source§fn set_name(&mut self, name: String)
fn set_name(&mut self, name: String)
Set the workspace name (used for fallback when name is not found in manifest)
Source§fn default_publish_command(&self) -> String
fn default_publish_command(&self) -> String
Get the default publish command for this workspace type
fn dependencies(&self) -> &HashSet<String>
fn add_dependency(&mut self, dependency: &str)
Source§fn publish<'life0, 'life1, 'async_trait>(
&'life0 self,
config: &'life1 Config,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn publish<'life0, 'life1, 'async_trait>(
&'life0 self,
config: &'life1 Config,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Publish the workspace using the configured command or default Read more
Source§fn get_publish_command(&self, config: &Config) -> String
fn get_publish_command(&self, config: &Config) -> String
Get the publish command for this workspace, checking config first
fn update_workspace_dependencies<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_packages: &'life1 [&'life2 dyn Package],
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
Auto Trait Implementations§
impl Freeze for CSharpWorkspace
impl RefUnwindSafe for CSharpWorkspace
impl Send for CSharpWorkspace
impl Sync for CSharpWorkspace
impl Unpin for CSharpWorkspace
impl UnsafeUnpin for CSharpWorkspace
impl UnwindSafe for CSharpWorkspace
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