pub enum TestNamespaceSecret {
FamilySecret,
WikiSecret,
ProjectSecret,
}Expand description
A “private key” corresponding to a namespace, used for issuing TestNamespaceSignatures.
Variants§
Trait Implementations§
Source§impl<'arbitrary> Arbitrary<'arbitrary> for TestNamespaceSecret
impl<'arbitrary> Arbitrary<'arbitrary> for TestNamespaceSecret
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 TestNamespaceSecret
impl Clone for TestNamespaceSecret
Source§fn clone(&self) -> TestNamespaceSecret
fn clone(&self) -> TestNamespaceSecret
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 TestNamespaceSecret
impl Debug for TestNamespaceSecret
Source§impl Hash for TestNamespaceSecret
impl Hash for TestNamespaceSecret
Source§impl Keypair for TestNamespaceSecret
impl Keypair for TestNamespaceSecret
Source§type VerifyingKey = TestNamespace
type VerifyingKey = TestNamespace
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 TestNamespaceSecret
impl Ord for TestNamespaceSecret
Source§fn cmp(&self, other: &TestNamespaceSecret) -> Ordering
fn cmp(&self, other: &TestNamespaceSecret) -> 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 TestNamespaceSecret
impl PartialEq for TestNamespaceSecret
Source§impl PartialOrd for TestNamespaceSecret
impl PartialOrd for TestNamespaceSecret
impl Copy for TestNamespaceSecret
impl Eq for TestNamespaceSecret
impl StructuralPartialEq for TestNamespaceSecret
Auto Trait Implementations§
impl Freeze for TestNamespaceSecret
impl RefUnwindSafe for TestNamespaceSecret
impl Send for TestNamespaceSecret
impl Sync for TestNamespaceSecret
impl Unpin for TestNamespaceSecret
impl UnwindSafe for TestNamespaceSecret
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