pub struct GetGraphRelationshipsUseCase<G> { /* private fields */ }Implementations§
Source§impl<G> GetGraphRelationshipsUseCase<G>
impl<G> GetGraphRelationshipsUseCase<G>
pub fn new(graph_reader: G) -> Self
pub async fn execute( &self, query: GetGraphRelationshipsQuery, ) -> Result<GetGraphRelationshipsResult, ApplicationError>
Trait Implementations§
Auto Trait Implementations§
impl<G> Freeze for GetGraphRelationshipsUseCase<G>where
G: Freeze,
impl<G> RefUnwindSafe for GetGraphRelationshipsUseCase<G>where
G: RefUnwindSafe,
impl<G> Send for GetGraphRelationshipsUseCase<G>where
G: Send,
impl<G> Sync for GetGraphRelationshipsUseCase<G>where
G: Sync,
impl<G> Unpin for GetGraphRelationshipsUseCase<G>where
G: Unpin,
impl<G> UnsafeUnpin for GetGraphRelationshipsUseCase<G>where
G: UnsafeUnpin,
impl<G> UnwindSafe for GetGraphRelationshipsUseCase<G>where
G: UnwindSafe,
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