Struct relay_metrics::AcceptsMetrics
source · pub struct AcceptsMetrics;
Expand description
Check whether the aggregator has not (yet) exceeded its total limits. Used for health checks.
Trait Implementations§
source§impl Debug for AcceptsMetrics
impl Debug for AcceptsMetrics
source§impl FromMessage<AcceptsMetrics> for Aggregator
impl FromMessage<AcceptsMetrics> for Aggregator
§type Response = AsyncResponse<bool>
type Response = AsyncResponse<bool>
The behavior declaring the return value when sending this message.
source§fn from_message(message: AcceptsMetrics, sender: Sender<bool>) -> Self
fn from_message(message: AcceptsMetrics, sender: Sender<bool>) -> Self
Converts the message into the service interface.
Auto Trait Implementations§
impl RefUnwindSafe for AcceptsMetrics
impl Send for AcceptsMetrics
impl Sync for AcceptsMetrics
impl Unpin for AcceptsMetrics
impl UnwindSafe for AcceptsMetrics
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