pub struct InMemoryAggregatedPredictionStore { /* private fields */ }Implementations§
Source§impl InMemoryAggregatedPredictionStore
impl InMemoryAggregatedPredictionStore
pub fn new() -> InMemoryAggregatedPredictionStore
pub fn append( &mut self, block: AggregatedPredictionBlock, ) -> Result<(), DagMlError>
pub fn blocks(&self) -> &[AggregatedPredictionBlock]
pub fn find( &self, producer_node: Option<&NodeId>, phase_partition: Option<&PredictionPartition>, fold_id: Option<&FoldId>, prediction_level: Option<PredictionLevel>, ) -> Vec<&AggregatedPredictionBlock>
Trait Implementations§
Source§impl Clone for InMemoryAggregatedPredictionStore
impl Clone for InMemoryAggregatedPredictionStore
Source§fn clone(&self) -> InMemoryAggregatedPredictionStore
fn clone(&self) -> InMemoryAggregatedPredictionStore
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for InMemoryAggregatedPredictionStore
impl Default for InMemoryAggregatedPredictionStore
Source§fn default() -> InMemoryAggregatedPredictionStore
fn default() -> InMemoryAggregatedPredictionStore
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for InMemoryAggregatedPredictionStore
impl RefUnwindSafe for InMemoryAggregatedPredictionStore
impl Send for InMemoryAggregatedPredictionStore
impl Sync for InMemoryAggregatedPredictionStore
impl Unpin for InMemoryAggregatedPredictionStore
impl UnsafeUnpin for InMemoryAggregatedPredictionStore
impl UnwindSafe for InMemoryAggregatedPredictionStore
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