pub struct Share {
pub index: u8,
pub m: u8,
pub data: Vec<u8>,
}Expand description
A single share of a threshold secret.
Fields§
§index: u8§m: u8Threshold M required to reconstruct the secret.
data: Vec<u8>Trait Implementations§
Auto Trait Implementations§
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