pub struct SqliteWorkspaceAdmin(pub Arc<SqliteFileSystem>);Expand description
Adapts SqliteFileSystem’s inherent workspace methods to WorkspaceAdmin.
Tuple Fields§
§0: Arc<SqliteFileSystem>Trait Implementations§
Source§impl WorkspaceAdmin for SqliteWorkspaceAdmin
impl WorkspaceAdmin for SqliteWorkspaceAdmin
Source§fn create_workspace<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = FsResult<Workspace>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create_workspace<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = FsResult<Workspace>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Creates a new isolated workspace with default limits.
Source§fn delete_workspace<'life0, 'async_trait>(
&'life0 self,
id: WorkspaceId,
) -> Pin<Box<dyn Future<Output = FsResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete_workspace<'life0, 'async_trait>(
&'life0 self,
id: WorkspaceId,
) -> Pin<Box<dyn Future<Output = FsResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Permanently deletes a workspace and everything it contains.
Auto Trait Implementations§
impl Freeze for SqliteWorkspaceAdmin
impl RefUnwindSafe for SqliteWorkspaceAdmin
impl Send for SqliteWorkspaceAdmin
impl Sync for SqliteWorkspaceAdmin
impl Unpin for SqliteWorkspaceAdmin
impl UnsafeUnpin for SqliteWorkspaceAdmin
impl UnwindSafe for SqliteWorkspaceAdmin
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