pub struct SecurityTerm {
pub label: &'static str,
pub bits: u64,
}Expand description
One round’s contribution, as -log2(error) in fixed point.
Fields§
§label: &'static strWhich round this bounds.
bits: u64Attained bits for the round, grinding included, in fixed point.
Implementations§
Trait Implementations§
Source§impl Clone for SecurityTerm
impl Clone for SecurityTerm
impl Copy for SecurityTerm
Source§impl Debug for SecurityTerm
impl Debug for SecurityTerm
impl Eq for SecurityTerm
Source§impl PartialEq for SecurityTerm
impl PartialEq for SecurityTerm
impl StructuralPartialEq for SecurityTerm
Auto Trait Implementations§
impl Freeze for SecurityTerm
impl RefUnwindSafe for SecurityTerm
impl Send for SecurityTerm
impl Sync for SecurityTerm
impl Unpin for SecurityTerm
impl UnsafeUnpin for SecurityTerm
impl UnwindSafe for SecurityTerm
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