pub struct MemoryWorkspaceSession { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Default for MemoryWorkspaceSession
impl Default for MemoryWorkspaceSession
Source§impl WorkspaceSession for MemoryWorkspaceSession
impl WorkspaceSession for MemoryWorkspaceSession
fn describe<'life0, 'life1, 'async_trait>(
&'life0 self,
_: &'life1 OperationContext,
) -> Pin<Box<dyn Future<Output = Result<String, PortFailure>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn read<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_: &'life1 OperationContext,
path: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, PortFailure>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn write<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
_: &'life1 OperationContext,
path: &'life2 str,
content: &'life3 [u8],
) -> Pin<Box<dyn Future<Output = Result<(), PortFailure>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn list<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_: &'life1 OperationContext,
path: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<WorkspaceEntry>, PortFailure>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn search<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
_: &'life1 OperationContext,
path: &'life2 str,
query: &'life3 str,
limit: usize,
) -> Pin<Box<dyn Future<Output = Result<Vec<String>, PortFailure>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn execute<'life0, 'life1, 'async_trait>(
&'life0 self,
_: &'life1 OperationContext,
request: CommandRequest,
) -> Pin<Box<dyn Future<Output = Result<CommandOutput, PortFailure>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl !Freeze for MemoryWorkspaceSession
impl RefUnwindSafe for MemoryWorkspaceSession
impl Send for MemoryWorkspaceSession
impl Sync for MemoryWorkspaceSession
impl Unpin for MemoryWorkspaceSession
impl UnsafeUnpin for MemoryWorkspaceSession
impl UnwindSafe for MemoryWorkspaceSession
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