pub struct MockTimeMatrixClient { /* private fields */ }Implementations§
Source§impl MockTimeMatrixClient
impl MockTimeMatrixClient
pub fn drain_calls(&self) -> TimeMatrixCallLog
Trait Implementations§
Source§impl Clone for MockTimeMatrixClient
impl Clone for MockTimeMatrixClient
Source§fn clone(&self) -> MockTimeMatrixClient
fn clone(&self) -> MockTimeMatrixClient
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl InspectSender for MockTimeMatrixClient
impl InspectSender for MockTimeMatrixClient
Source§fn inspect_time_matrix<F, P>(
&self,
name: impl Into<String>,
_matrix: TimeMatrix<F, P>,
) -> InspectedTimeMatrix<F::Sample>where
TimeMatrix<F, P>: 'static + TimeMatrixFold<F::Sample> + Send,
Metadata<F>: 'static + Send + Sync,
F: SerialStatistic<P>,
F::Sample: Send,
P: InterpolationKind,
fn inspect_time_matrix<F, P>(
&self,
name: impl Into<String>,
_matrix: TimeMatrix<F, P>,
) -> InspectedTimeMatrix<F::Sample>where
TimeMatrix<F, P>: 'static + TimeMatrixFold<F::Sample> + Send,
Metadata<F>: 'static + Send + Sync,
F: SerialStatistic<P>,
F::Sample: Send,
P: InterpolationKind,
Sends a
TimeMatrix to the client’s inspection server. Read moreSource§fn inspect_time_matrix_with_metadata<F, P>(
&self,
name: impl Into<String>,
matrix: TimeMatrix<F, P>,
_metadata: impl Into<Metadata<F>>,
) -> InspectedTimeMatrix<F::Sample>where
TimeMatrix<F, P>: 'static + TimeMatrixFold<F::Sample> + Send,
Metadata<F>: 'static + Send + Sync,
F: SerialStatistic<P>,
F::Sample: Send,
P: InterpolationKind,
fn inspect_time_matrix_with_metadata<F, P>(
&self,
name: impl Into<String>,
matrix: TimeMatrix<F, P>,
_metadata: impl Into<Metadata<F>>,
) -> InspectedTimeMatrix<F::Sample>where
TimeMatrix<F, P>: 'static + TimeMatrixFold<F::Sample> + Send,
Metadata<F>: 'static + Send + Sync,
F: SerialStatistic<P>,
F::Sample: Send,
P: InterpolationKind,
Sends a
TimeMatrix to the client’s inspection server. Read moreAuto Trait Implementations§
impl Freeze for MockTimeMatrixClient
impl !RefUnwindSafe for MockTimeMatrixClient
impl Send for MockTimeMatrixClient
impl Sync for MockTimeMatrixClient
impl Unpin for MockTimeMatrixClient
impl !UnwindSafe for MockTimeMatrixClient
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,
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more