pub struct SecurityReport {
pub udr: RegimeReport,
pub ldr: Option<RegimeReport>,
}Expand description
Proven-soundness report across both proximity regimes.
Each regime is an independent lower bound on round-by-round soundness.
So the attained security is the larger of the two.
Fields§
§udr: RegimeReport§ldr: Option<RegimeReport>Absent when no valid list-decoding regime exists for the instance.
Implementations§
Source§impl SecurityReport
impl SecurityReport
Sourcepub fn security_bits(&self) -> f64
pub fn security_bits(&self) -> f64
Attained proven security in bits: the better of the two regimes.
Sourcepub fn binding(&self) -> (Regime, SecurityTerm)
pub fn binding(&self) -> (Regime, SecurityTerm)
The winning regime and its binding term.
Trait Implementations§
Source§impl Clone for SecurityReport
impl Clone for SecurityReport
Source§impl Debug for SecurityReport
impl Debug for SecurityReport
Auto Trait Implementations§
impl Freeze for SecurityReport
impl RefUnwindSafe for SecurityReport
impl Send for SecurityReport
impl Sync for SecurityReport
impl Unpin for SecurityReport
impl UnsafeUnpin for SecurityReport
impl UnwindSafe for SecurityReport
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: 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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more