pub struct Params { /* private fields */ }Expand description
System parameters for the Eyvara VRF scheme.
The fields are private; use EYVARA_128 or EYVARA_192. Custom
parameters are not part of the public API because bad choices break security.
Serialization is supported via the serde feature for inspection and
logging purposes. Deserialization is intentionally not supported: parameter
sets must be constructed via the provided constants EYVARA_128 and
EYVARA_192.
ⓘ
fn assert_deserializable<T: serde::de::DeserializeOwned>() {}
assert_deserializable::<eyvara::params::Params>();Implementations§
Trait Implementations§
impl Copy for Params
impl Eq for Params
impl StructuralPartialEq for Params
Auto Trait Implementations§
impl Freeze for Params
impl RefUnwindSafe for Params
impl Send for Params
impl Sync for Params
impl Unpin for Params
impl UnsafeUnpin for Params
impl UnwindSafe for Params
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