pub struct LocalWorkspaceProvider { /* private fields */ }Implementations§
Source§impl LocalWorkspaceProvider
impl LocalWorkspaceProvider
pub fn for_local_development(base_root: PathBuf) -> Result<Self>
Trait Implementations§
Source§impl Clone for LocalWorkspaceProvider
impl Clone for LocalWorkspaceProvider
Source§impl Debug for LocalWorkspaceProvider
impl Debug for LocalWorkspaceProvider
Source§impl WorkspaceProviderAdapter for LocalWorkspaceProvider
impl WorkspaceProviderAdapter for LocalWorkspaceProvider
fn provision<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
&'life0 self,
_tenant_id: &'life1 str,
workspace_id: &'life2 str,
_config: &'life3 WorkspaceConfig,
_key: &'life4 str,
) -> Pin<Box<dyn Future<Output = Result<ProvisionedWorkspace>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
fn reconnect<'life0, 'life1, 'async_trait>(
&'life0 self,
id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn suspend<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
id: &'life1 str,
_key: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn resume<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
id: &'life1 str,
_key: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn inspect<'life0, 'life1, 'async_trait>(
&'life0 self,
record: &'life1 WorkspaceRecord,
) -> Pin<Box<dyn Future<Output = Result<WorkspaceResourceUsage>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn delete<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
id: &'life1 str,
key: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn cancel_command<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_id: &'life1 str,
_command_id: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Auto Trait Implementations§
impl Freeze for LocalWorkspaceProvider
impl RefUnwindSafe for LocalWorkspaceProvider
impl Send for LocalWorkspaceProvider
impl Sync for LocalWorkspaceProvider
impl Unpin for LocalWorkspaceProvider
impl UnsafeUnpin for LocalWorkspaceProvider
impl UnwindSafe for LocalWorkspaceProvider
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