pub struct StatementExecutor<T: KeyValueStore> { /* private fields */ }
Expand description
Statement executor for DDL/DML operations
Implementations§
Source§impl<T: KeyValueStore + 'static> StatementExecutor<T>
impl<T: KeyValueStore + 'static> StatementExecutor<T>
pub fn new(storage: Arc<T>) -> Self
pub async fn execute( &self, _statement: GqlStatement, _context: QueryContext, ) -> Result<StatementResult>
Auto Trait Implementations§
impl<T> Freeze for StatementExecutor<T>
impl<T> RefUnwindSafe for StatementExecutor<T>where
T: RefUnwindSafe,
impl<T> Send for StatementExecutor<T>
impl<T> Sync for StatementExecutor<T>
impl<T> Unpin for StatementExecutor<T>
impl<T> UnwindSafe for StatementExecutor<T>where
T: RefUnwindSafe,
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