Struct kitsune_p2p::actor::RpcMultiResponse [−][src]
pub struct RpcMultiResponse {
pub agent: Arc<KitsuneAgent>,
pub response: Vec<u8>,
}
Expand description
A response type helps indicate what agent gave what response.
Fields
agent: Arc<KitsuneAgent>
The agent that gave this response.
response: Vec<u8>
Response data.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RpcMultiResponse
impl Send for RpcMultiResponse
impl Sync for RpcMultiResponse
impl Unpin for RpcMultiResponse
impl UnwindSafe for RpcMultiResponse
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