Trait signature::SignatureEncoding
source · pub trait SignatureEncoding: Clone + Sized + for<'a> TryFrom<&'a [u8]> + TryInto<Self::Repr> {
type Repr: 'static + AsRef<[u8]> + Clone + Send + Sync;
fn to_bytes(&self) -> Self::Repr { ... }
fn to_vec(&self) -> Vec<u8> { ... }
}
Expand description
Support for decoding/encoding signatures as bytes.