Struct ya_relay_stack::ChannelMetrics
source · pub struct ChannelMetrics {
pub tx: Metrics,
pub rx: Metrics,
}Fields§
§tx: Metrics§rx: MetricsTrait Implementations§
source§impl Add<ChannelMetrics> for ChannelMetrics
impl Add<ChannelMetrics> for ChannelMetrics
source§impl Clone for ChannelMetrics
impl Clone for ChannelMetrics
source§fn clone(&self) -> ChannelMetrics
fn clone(&self) -> ChannelMetrics
Returns a copy 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 Default for ChannelMetrics
impl Default for ChannelMetrics
source§fn default() -> ChannelMetrics
fn default() -> ChannelMetrics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ChannelMetrics
impl Send for ChannelMetrics
impl Sync for ChannelMetrics
impl Unpin for ChannelMetrics
impl UnwindSafe for ChannelMetrics
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