pub struct ImpactUseCase<S> { /* private fields */ }Implementations§
Source§impl<S: GraphStore> ImpactUseCase<S>
impl<S: GraphStore> ImpactUseCase<S>
pub fn new(store: S) -> Self
pub fn blast_radius( &self, targets: &[ImpactTarget], max_depth: usize, min_confidence: Confidence, ) -> Result<ImpactReport>
pub fn diff_impact( &self, hunks: &[DiffHunk], max_depth: usize, min_confidence: Confidence, ) -> Result<DiffImpactReport>
Auto Trait Implementations§
impl<S> Freeze for ImpactUseCase<S>where
S: Freeze,
impl<S> RefUnwindSafe for ImpactUseCase<S>where
S: RefUnwindSafe,
impl<S> Send for ImpactUseCase<S>where
S: Send,
impl<S> Sync for ImpactUseCase<S>where
S: Sync,
impl<S> Unpin for ImpactUseCase<S>where
S: Unpin,
impl<S> UnsafeUnpin for ImpactUseCase<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for ImpactUseCase<S>where
S: 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