pub enum TestSubspaceSecret {
AlfieSecret,
BettySecret,
GemmaSecret,
DaltonSecret,
}Expand description
A “private key” corresponding to a subspace, used for issuing TestSubspaceSignatures.
Variants§
Trait Implementations§
Source§impl<'arbitrary> Arbitrary<'arbitrary> for TestSubspaceSecret
impl<'arbitrary> Arbitrary<'arbitrary> for TestSubspaceSecret
Source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self from the given unstructured data. Read moreSource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self from the entirety of the given
unstructured data. Read moreSource§fn size_hint(depth: usize) -> (usize, Option<usize>)
fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an
Unstructured this type
needs to construct itself. Read moreSource§fn try_size_hint(
depth: usize,
) -> Result<(usize, Option<usize>), MaxRecursionReached>
fn try_size_hint( depth: usize, ) -> Result<(usize, Option<usize>), MaxRecursionReached>
Get a size hint for how many bytes out of an
Unstructured this type
needs to construct itself. Read moreSource§impl Clone for TestSubspaceSecret
impl Clone for TestSubspaceSecret
Source§fn clone(&self) -> TestSubspaceSecret
fn clone(&self) -> TestSubspaceSecret
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TestSubspaceSecret
impl Debug for TestSubspaceSecret
Source§impl Hash for TestSubspaceSecret
impl Hash for TestSubspaceSecret
Source§impl Keypair for TestSubspaceSecret
impl Keypair for TestSubspaceSecret
Source§type VerifyingKey = TestSubspace
type VerifyingKey = TestSubspace
Verifying key type for this keypair.
Source§fn verifying_key(&self) -> Self::VerifyingKey
fn verifying_key(&self) -> Self::VerifyingKey
Get the verifying key which can verify signatures produced by the
signing key portion of this keypair.
Source§impl Ord for TestSubspaceSecret
impl Ord for TestSubspaceSecret
Source§fn cmp(&self, other: &TestSubspaceSecret) -> Ordering
fn cmp(&self, other: &TestSubspaceSecret) -> Ordering
1.21.0 · 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 PartialEq for TestSubspaceSecret
impl PartialEq for TestSubspaceSecret
Source§impl PartialOrd for TestSubspaceSecret
impl PartialOrd for TestSubspaceSecret
impl Copy for TestSubspaceSecret
impl Eq for TestSubspaceSecret
impl StructuralPartialEq for TestSubspaceSecret
Auto Trait Implementations§
impl Freeze for TestSubspaceSecret
impl RefUnwindSafe for TestSubspaceSecret
impl Send for TestSubspaceSecret
impl Sync for TestSubspaceSecret
impl Unpin for TestSubspaceSecret
impl UnwindSafe for TestSubspaceSecret
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more