Expand description
Set
is a set of PRFs. A Keyset
can be converted into a set of PRFs
using this primitive. Every key in the keyset corresponds to a PRF in the prf.Set.
Every PRF in the set is given an ID, which is the same ID as the key id in
the Keyset
.
Fields
primary_id: u32
The key ID marked as primary in the corresponding Keyset
.
prfs: HashMap<u32, Box<dyn Prf>>
Map key IDs to their corresponding Prf.
Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Set
impl !Send for Set
impl !Sync for Set
impl Unpin for Set
impl !UnwindSafe for Set
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more