pub struct ValidatableEd25519Signature { /* private fields */ }
Expand description

An ed25519 signature, plus the document that it signs and its public key.

Implementations

Create a new ValidatableEd25519Signature

Trait Implementations

Check whether this signature is a correct signature for the document.

Return this value as a validatable Ed25519 signature, if it is one.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.