Enum kitsune_p2p::wire::MetricExchangeMsg
source · [−]pub enum MetricExchangeMsg {
V1UniBlast {
extrap_cov_f32_le: WireData,
},
UnknownMessage,
}
Expand description
Enum containing the individual metric exchange messages used by clients
Variants
V1UniBlast
Fields
extrap_cov_f32_le: WireData
The extrapolated coverage calculated by this node note this is NOT the aggregate the node has collected, just the direct extrapolation based on known peer infos.
To start off, let’s use a naive single message sending everything we care about.
UnknownMessage
Future proof by having an unknown message catch-all variant that we can ignore for any future variants that are added
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for MetricExchangeMsg
impl Send for MetricExchangeMsg
impl Sync for MetricExchangeMsg
impl Unpin for MetricExchangeMsg
impl UnwindSafe for MetricExchangeMsg
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more