pub struct Share {
pub index: u8,
pub value: Vec<u8>,
}Expand description
A share, with its index, as split_vec returns them. Wiped on drop.
Fields§
§index: u8The share’s index, 1..=255: its x.
value: Vec<u8>The share’s bytes, as long as the secret.
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