Struct kitsune_p2p_types::consistency::PublishedData [−][src]
pub struct PublishedData {
pub agent: Arc<KitsuneAgent>,
pub storage_arc: DhtArc,
pub published_hashes: Vec<(DhtLocation, KitsuneOpHash)>,
}
Expand description
Data published by an agent.
Fields
agent: Arc<KitsuneAgent>
The agent that published the data.
storage_arc: DhtArc
The storage arc of the agent.
published_hashes: Vec<(DhtLocation, KitsuneOpHash)>
The op hashes published by the agent.
Auto Trait Implementations
impl RefUnwindSafe for PublishedData
impl Send for PublishedData
impl Sync for PublishedData
impl Unpin for PublishedData
impl UnwindSafe for PublishedData
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