pub struct DecodeProofEmissionPolicy {
pub emit_on_decode_failure: bool,
pub emit_on_repair_success: bool,
}Expand description
Receiver policy knobs for packet integrity/auth enforcement.
Fields§
§emit_on_decode_failure: boolEmit proofs on decode failure (durability-critical requirement).
emit_on_repair_success: boolEmit proofs on successful decode that included repair symbols.
Implementations§
Source§impl DecodeProofEmissionPolicy
impl DecodeProofEmissionPolicy
Sourcepub const fn durability_critical() -> Self
pub const fn durability_critical() -> Self
Durability-critical posture for replication apply paths.
Trait Implementations§
Source§impl Clone for DecodeProofEmissionPolicy
impl Clone for DecodeProofEmissionPolicy
Source§fn clone(&self) -> DecodeProofEmissionPolicy
fn clone(&self) -> DecodeProofEmissionPolicy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DecodeProofEmissionPolicy
impl Debug for DecodeProofEmissionPolicy
Source§impl Default for DecodeProofEmissionPolicy
impl Default for DecodeProofEmissionPolicy
impl Copy for DecodeProofEmissionPolicy
impl Eq for DecodeProofEmissionPolicy
impl StructuralPartialEq for DecodeProofEmissionPolicy
Auto Trait Implementations§
impl Freeze for DecodeProofEmissionPolicy
impl RefUnwindSafe for DecodeProofEmissionPolicy
impl Send for DecodeProofEmissionPolicy
impl Sync for DecodeProofEmissionPolicy
impl Unpin for DecodeProofEmissionPolicy
impl UnsafeUnpin for DecodeProofEmissionPolicy
impl UnwindSafe for DecodeProofEmissionPolicy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).