Struct kitsune_p2p::gossip::simple_bloom::Initiate [−][src]
pub struct Initiate {
pub agents: HashSet<Arc<KitsuneAgent>>,
pub filter: PoolBuf,
}
Expand description
Initiate a round of gossip with a remote node
Fields
agents: HashSet<Arc<KitsuneAgent>>
filter: PoolBuf
Trait Implementations
Variant identifier (for debugging or as a cheap discriminant).
Encode this item to given writer. You may wish to first wrap your writer in a BufWriter. Read more
Decode a reader into this item. You may wish to first wrap your reader in a BufReader. Read more
Encode this item to an owned vector of bytes.
Uses encode()
internally. Read more
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
Auto Trait Implementations
impl RefUnwindSafe for Initiate
impl UnwindSafe for Initiate
Blanket Implementations
Mutably borrows from an owned value. Read more
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