pub struct Threshold(/* private fields */);Expand description
A codex32 share threshold.
ZERO is the unshared v0.1 single-string sentinel (codex32 threshold 0,
share-index s); new(k) accepts a K-of-N share threshold k in 2..=9
(codex32 from_seed accepts threshold 0 or 2..=9 only — 1 is invalid).
Implementations§
Source§impl Threshold
impl Threshold
Trait Implementations§
impl Copy for Threshold
impl Eq for Threshold
impl StructuralPartialEq for Threshold
Auto Trait Implementations§
impl Freeze for Threshold
impl RefUnwindSafe for Threshold
impl Send for Threshold
impl Sync for Threshold
impl Unpin for Threshold
impl UnsafeUnpin for Threshold
impl UnwindSafe for Threshold
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