Struct kitsune_p2p::wire::PeerGet
source · [−]pub struct PeerGet {
pub space: Arc<KitsuneSpace>,
pub agent: Arc<KitsuneAgent>,
}
Expand description
Ask a remote node if they know about a specific agent
Fields
space: Arc<KitsuneSpace>
agent: Arc<KitsuneAgent>
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 PeerGet
impl UnwindSafe for PeerGet
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