pub struct RecoveryDecodingConfig {
pub verify_integrity: bool,
pub auth_context: Option<SecurityContext>,
pub max_decode_attempts: u32,
pub allow_partial_decode: bool,
}Expand description
Configuration for state decoding during recovery.
Fields§
§verify_integrity: boolWhether to verify decoded data integrity.
auth_context: Option<SecurityContext>Optional security context used to verify untrusted/unverified symbols.
When verify_integrity is true and this is Some, decoding will verify
tags for symbols where AuthenticatedSymbol::is_verified() is false.
max_decode_attempts: u32Maximum decode attempts before failure.
allow_partial_decode: boolWhether to attempt partial decode.
Trait Implementations§
Source§impl Clone for RecoveryDecodingConfig
impl Clone for RecoveryDecodingConfig
Source§fn clone(&self) -> RecoveryDecodingConfig
fn clone(&self) -> RecoveryDecodingConfig
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 RecoveryDecodingConfig
impl Debug for RecoveryDecodingConfig
Auto Trait Implementations§
impl Freeze for RecoveryDecodingConfig
impl RefUnwindSafe for RecoveryDecodingConfig
impl Send for RecoveryDecodingConfig
impl Sync for RecoveryDecodingConfig
impl Unpin for RecoveryDecodingConfig
impl UnsafeUnpin for RecoveryDecodingConfig
impl UnwindSafe for RecoveryDecodingConfig
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<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).