logo
pub trait SignatureEncoding: Clone + for<'a> TryFrom<&'a [u8]> + TryInto<Self::Repr> {
    type Repr: 'static + AsRef<[u8]> + Clone + Send + Sync;
    fn to_bytes(&self) -> Self::Repr { ... }
}
Expand description

Support for decoding/encoding signatures as bytes.

Associated Types

Byte representation of a signature.

Provided methods

Encode signature as its byte representation.

Implementors