pub struct GraphSaverFor<E> { /* private fields */ }Expand description
Marker struct that implements DynGraphSaver for a specific executor type E.
E is the full executor type (e.g. SqlDataServiceExecutor<SqliteDialect, …>).
The struct itself is zero-sized; the actual executor is retrieved from
UserContext at call time.
Implementations§
Source§impl<E> GraphSaverFor<E>
impl<E> GraphSaverFor<E>
Trait Implementations§
Source§impl<E> DynGraphSaver for GraphSaverFor<E>
impl<E> DynGraphSaver for GraphSaverFor<E>
fn save_graph_dyn<'a>( &'a self, ctx: &'a UserContext, entity: &'a str, node: GraphNode, ) -> Pin<Box<dyn Future<Output = Result<GraphNode, RuntimeError>> + Send + 'a>>
Auto Trait Implementations§
impl<E> Freeze for GraphSaverFor<E>
impl<E> RefUnwindSafe for GraphSaverFor<E>
impl<E> Send for GraphSaverFor<E>
impl<E> Sync for GraphSaverFor<E>
impl<E> Unpin for GraphSaverFor<E>
impl<E> UnsafeUnpin for GraphSaverFor<E>
impl<E> UnwindSafe for GraphSaverFor<E>
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