Struct kitsune_p2p_types::consistency::ExpectedData [−][src]
pub struct ExpectedData {
pub expected_agents: Vec<Arc<KitsuneAgent>>,
pub expected_hashes: Vec<KitsuneOpHash>,
}
Expand description
The data the agent is expected to have.
Fields
expected_agents: Vec<Arc<KitsuneAgent>>
The agents this agent is expected to have in their peer store.
expected_hashes: Vec<KitsuneOpHash>
The ops this agent is expected to have integrated.
Auto Trait Implementations
impl RefUnwindSafe for ExpectedData
impl Send for ExpectedData
impl Sync for ExpectedData
impl Unpin for ExpectedData
impl UnwindSafe for ExpectedData
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
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