pub enum BlsCurves {
G1,
G2,
}Expand description
Supported public key types for Bls12_381
Variants§
Trait Implementations§
impl Copy for BlsCurves
impl Eq for BlsCurves
Source§impl Ord for BlsCurves
impl Ord for BlsCurves
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for BlsCurves
impl PartialOrd for BlsCurves
impl StructuralPartialEq for BlsCurves
Auto Trait Implementations§
impl Freeze for BlsCurves
impl RefUnwindSafe for BlsCurves
impl Send for BlsCurves
impl Sync for BlsCurves
impl Unpin for BlsCurves
impl UnsafeUnpin for BlsCurves
impl UnwindSafe for BlsCurves
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