pub struct AnalysisPipeline { /* private fields */ }Expand description
Complete-boundary analyzer pipeline with bounded committed history.
Implementations§
Source§impl AnalysisPipeline
impl AnalysisPipeline
pub fn new( analyzers: Vec<Box<dyn HistoricalAnalyzer>>, observation_limits: ObservationStoreLimits, annotation_limits: AnnotationLimits, ) -> Result<Self, AnalysisError>
pub fn add_annotation( &mut self, annotation: StrategyAnnotation, ) -> Result<(), AnalysisError>
pub fn observations(&self) -> &ObservationStore
pub fn annotations(&self) -> &AnnotationTimeline
pub fn is_failed(&self) -> bool
pub fn on_boundary( &mut self, boundary: AnalysisBoundary<'_>, ) -> Result<AnalysisBoundaryOutput, AnalysisError>
Auto Trait Implementations§
impl !RefUnwindSafe for AnalysisPipeline
impl !Sync for AnalysisPipeline
impl !UnwindSafe for AnalysisPipeline
impl Freeze for AnalysisPipeline
impl Send for AnalysisPipeline
impl Unpin for AnalysisPipeline
impl UnsafeUnpin for AnalysisPipeline
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