Struct windowed_stats::experimental::testing::MockTimeMatrix
source · pub struct MockTimeMatrix<T> { /* private fields */ }
Implementations§
source§impl<T> MockTimeMatrix<T>
impl<T> MockTimeMatrix<T>
pub fn drain_calls(&self) -> Vec<TimeMatrixCall<T>>
source§impl<T: Send + 'static> MockTimeMatrix<T>
impl<T: Send + 'static> MockTimeMatrix<T>
pub fn build_ref(&self, name: &str) -> InspectedTimeMatrix<T>
Trait Implementations§
source§impl<T> Clone for MockTimeMatrix<T>
impl<T> Clone for MockTimeMatrix<T>
source§impl<T> Debug for MockTimeMatrix<T>where
T: Debug,
impl<T> Debug for MockTimeMatrix<T>where
T: Debug,
source§impl<T> Default for MockTimeMatrix<T>where
T: Default,
impl<T> Default for MockTimeMatrix<T>where
T: Default,
source§impl<T> Interpolator for MockTimeMatrix<T>
impl<T> Interpolator for MockTimeMatrix<T>
type Error = FoldError
source§fn interpolate(&mut self, timestamp: Timestamp) -> Result<(), Self::Error>
fn interpolate(&mut self, timestamp: Timestamp) -> Result<(), Self::Error>
Interpolates samples to the given timestamp. Read more
source§fn interpolate_and_get_buffers(
&mut self,
timestamp: Timestamp,
) -> Result<SerializedBuffer, Self::Error>
fn interpolate_and_get_buffers( &mut self, timestamp: Timestamp, ) -> Result<SerializedBuffer, Self::Error>
Interpolates samples to the given timestamp and gets the serialized aggregation buffers. Read more
source§impl<T> Sampler<TimedSample<T>> for MockTimeMatrix<T>
impl<T> Sampler<TimedSample<T>> for MockTimeMatrix<T>
impl<T> RoundRobinSampler<T> for MockTimeMatrix<T>
Auto Trait Implementations§
impl<T> Freeze for MockTimeMatrix<T>
impl<T> !RefUnwindSafe for MockTimeMatrix<T>
impl<T> Send for MockTimeMatrix<T>where
T: Send,
impl<T> Sync for MockTimeMatrix<T>where
T: Send,
impl<T> Unpin for MockTimeMatrix<T>
impl<T> !UnwindSafe for MockTimeMatrix<T>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)