pub struct RehydrateSessionUseCase<G, D, S> { /* private fields */ }Implementations§
Source§impl<G, D, S> RehydrateSessionUseCase<G, D, S>where
G: GraphNeighborhoodReader + Send + Sync,
D: NodeDetailReader + Send + Sync,
S: SnapshotStore + Send + Sync,
impl<G, D, S> RehydrateSessionUseCase<G, D, S>where
G: GraphNeighborhoodReader + Send + Sync,
D: NodeDetailReader + Send + Sync,
S: SnapshotStore + Send + Sync,
pub fn new( graph_reader: G, detail_reader: D, snapshot_store: S, generator_version: &'static str, ) -> Self
pub async fn execute( &self, root_node_id: &str, role: &str, persist_snapshot: bool, snapshot_options: SnapshotSaveOptions, ) -> Result<(KmpBundle, QueryTimingBreakdown), ApplicationError>
pub async fn execute_with_depth( &self, root_node_id: &str, role: &str, depth: u32, persist_snapshot: bool, snapshot_options: SnapshotSaveOptions, ) -> Result<(KmpBundle, QueryTimingBreakdown), ApplicationError>
Trait Implementations§
Auto Trait Implementations§
impl<G, D, S> Freeze for RehydrateSessionUseCase<G, D, S>
impl<G, D, S> RefUnwindSafe for RehydrateSessionUseCase<G, D, S>
impl<G, D, S> Send for RehydrateSessionUseCase<G, D, S>
impl<G, D, S> Sync for RehydrateSessionUseCase<G, D, S>
impl<G, D, S> Unpin for RehydrateSessionUseCase<G, D, S>
impl<G, D, S> UnsafeUnpin for RehydrateSessionUseCase<G, D, S>
impl<G, D, S> UnwindSafe for RehydrateSessionUseCase<G, D, S>
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