pub struct TimeMatrixClient { /* private fields */ }Implementations§
Source§impl TimeMatrixClient
impl TimeMatrixClient
Sourcepub fn new(node: InspectNode) -> Self
pub fn new(node: InspectNode) -> Self
Create a new TimeMatrixClient that holds a given Inspect Node
Note: If TimeMatrixClient is constructed with a weak reference to Inspect Node, then the original Node needs to be preserved for time series data shows up in Inspect. If TimeMatrixClient is constructed with the original Inspect node, then the TimeMatrixClient itself needs to be preserved.
Trait Implementations§
Source§impl Clone for TimeMatrixClient
impl Clone for TimeMatrixClient
Source§impl InspectSender for TimeMatrixClient
impl InspectSender for TimeMatrixClient
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 TimeMatrixClient
impl !RefUnwindSafe for TimeMatrixClient
impl Send for TimeMatrixClient
impl Sync for TimeMatrixClient
impl Unpin for TimeMatrixClient
impl !UnwindSafe for TimeMatrixClient
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