pub struct GetContextUseCase<G, D, S> { /* private fields */ }Implementations§
Source§impl<G, D, S> GetContextUseCase<G, D, S>where
G: GraphNeighborhoodReader + Send + Sync,
D: NodeDetailReader + Send + Sync,
S: SnapshotStore + Send + Sync,
impl<G, D, S> GetContextUseCase<G, D, S>where
G: GraphNeighborhoodReader + Send + Sync,
D: NodeDetailReader + Send + Sync,
S: SnapshotStore + Send + Sync,
pub fn new(rehydrate_session: RehydrateSessionUseCase<G, D, S>) -> Self
pub async fn execute( &self, root_node_id: &str, role: &str, depth: u32, requested_scopes: &[String], render_options: &ContextRenderOptions, ) -> Result<GetContextResult, ApplicationError>
Trait Implementations§
Auto Trait Implementations§
impl<G, D, S> Freeze for GetContextUseCase<G, D, S>
impl<G, D, S> RefUnwindSafe for GetContextUseCase<G, D, S>
impl<G, D, S> Send for GetContextUseCase<G, D, S>
impl<G, D, S> Sync for GetContextUseCase<G, D, S>
impl<G, D, S> Unpin for GetContextUseCase<G, D, S>
impl<G, D, S> UnsafeUnpin for GetContextUseCase<G, D, S>
impl<G, D, S> UnwindSafe for GetContextUseCase<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