pub enum TestNamespaceSignature {
FamilySignature,
WikiSignature,
ProjectSignature,
}Expand description
A “signature” issued by a TestNamespaceSecret.
The signing process ignores the actual details of the payload.
Variants§
Trait Implementations§
Source§impl<'arbitrary> Arbitrary<'arbitrary> for TestNamespaceSignature
impl<'arbitrary> Arbitrary<'arbitrary> for TestNamespaceSignature
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 TestNamespaceSignature
impl Clone for TestNamespaceSignature
Source§fn clone(&self) -> TestNamespaceSignature
fn clone(&self) -> TestNamespaceSignature
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 TestNamespaceSignature
impl Debug for TestNamespaceSignature
Source§impl Decodable for TestNamespaceSignature
impl Decodable for TestNamespaceSignature
Source§type ErrorReason = Blame
type ErrorReason = Blame
Reason why decoding can fail (beyond an unexpected end of input or a producer error).
Source§async fn decode<P>(
producer: &mut P,
) -> Result<Self, DecodeError<P::Final, P::Error, Self::ErrorReason>>
async fn decode<P>( producer: &mut P, ) -> Result<Self, DecodeError<P::Final, P::Error, Self::ErrorReason>>
Decodes the symbols produced by the given bulk producer into a
Self, or yields an error if the producer does not produce a valid encoding. Read moreSource§impl DecodableCanonic for TestNamespaceSignature
impl DecodableCanonic for TestNamespaceSignature
Source§type ErrorCanonic = Blame
type ErrorCanonic = Blame
The type for reporting that the sequence of symbols to decode was not a valid canonic encoding of any value of type
Self. Read moreSource§async fn decode_canonic<P>(
producer: &mut P,
) -> Result<Self, DecodeError<P::Final, P::Error, Self::ErrorCanonic>>
async fn decode_canonic<P>( producer: &mut P, ) -> Result<Self, DecodeError<P::Final, P::Error, Self::ErrorCanonic>>
Decodes the symbols produced by the given bulk producer into a
Self, and errors if the input encoding is not the canonical one.Source§impl Encodable for TestNamespaceSignature
impl Encodable for TestNamespaceSignature
Source§impl EncodableKnownLength for TestNamespaceSignature
impl EncodableKnownLength for TestNamespaceSignature
Source§fn len_of_encoding(&self) -> usize
fn len_of_encoding(&self) -> usize
Computes the number of symbols of the encoding of
self. A successful call to encode must feed exactly that many symbols into the bulk consumer.Source§impl Hash for TestNamespaceSignature
impl Hash for TestNamespaceSignature
Source§impl Ord for TestNamespaceSignature
impl Ord for TestNamespaceSignature
Source§fn cmp(&self, other: &TestNamespaceSignature) -> Ordering
fn cmp(&self, other: &TestNamespaceSignature) -> 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 TestNamespaceSignature
impl PartialEq for TestNamespaceSignature
Source§impl PartialOrd for TestNamespaceSignature
impl PartialOrd for TestNamespaceSignature
impl Copy for TestNamespaceSignature
impl Eq for TestNamespaceSignature
impl StructuralPartialEq for TestNamespaceSignature
Auto Trait Implementations§
impl Freeze for TestNamespaceSignature
impl RefUnwindSafe for TestNamespaceSignature
impl Send for TestNamespaceSignature
impl Sync for TestNamespaceSignature
impl Unpin for TestNamespaceSignature
impl UnwindSafe for TestNamespaceSignature
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, S> EncodableExt<S> for Twhere
T: Encodable<S>,
impl<T, S> EncodableExt<S> for Twhere
T: Encodable<S>,
Source§impl<T, S> EncodableKnownLengthExt<S> for Twhere
T: EncodableKnownLength<S>,
impl<T, S> EncodableKnownLengthExt<S> for Twhere
T: EncodableKnownLength<S>,
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