pub struct WorkspaceServiceInstallationManager { /* private fields */ }Implementations§
Source§impl WorkspaceServiceInstallationManager
impl WorkspaceServiceInstallationManager
pub fn new( root: impl Into<PathBuf>, system_id: impl Into<String>, environment_id: impl Into<String>, ) -> Self
pub fn snapshot( &self, ) -> Result<ServiceInstallationSet, ServiceInstallationError>
pub fn preview( &self, change: ServiceInstallationChange, created_at: DateTime<Utc>, ) -> Result<ServiceInstallationPlan, ServiceInstallationError>
pub fn apply( &self, operation_id: &str, plan: &ServiceInstallationPlan, actor_id: &str, authorities: &BTreeSet<String>, now: DateTime<Utc>, ) -> Result<ServiceInstallationReceipt, ServiceInstallationError>
Trait Implementations§
Source§impl Clone for WorkspaceServiceInstallationManager
impl Clone for WorkspaceServiceInstallationManager
Source§fn clone(&self) -> WorkspaceServiceInstallationManager
fn clone(&self) -> WorkspaceServiceInstallationManager
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 WorkspaceServiceInstallationManager
impl RefUnwindSafe for WorkspaceServiceInstallationManager
impl Send for WorkspaceServiceInstallationManager
impl Sync for WorkspaceServiceInstallationManager
impl Unpin for WorkspaceServiceInstallationManager
impl UnsafeUnpin for WorkspaceServiceInstallationManager
impl UnwindSafe for WorkspaceServiceInstallationManager
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