Struct kitsune_p2p_types::consistency::ConsistencySession [−][src]
pub struct ConsistencySession {
pub keep_alive: Option<Duration>,
pub frequency: Duration,
pub timeout: Duration,
pub expected_data: ExpectedData,
}
Expand description
A consistency session for an individual agent to self check and report back.
Fields
keep_alive: Option<Duration>
How often the agent should send keep alives if they do not have all the expected data yet.
frequency: Duration
How often the agent should check if they have all the expected data.
timeout: Duration
When the agent should timeout the session.
expected_data: ExpectedData
The data the agent should check for.
Auto Trait Implementations
impl RefUnwindSafe for ConsistencySession
impl Send for ConsistencySession
impl Sync for ConsistencySession
impl Unpin for ConsistencySession
impl UnwindSafe for ConsistencySession
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