Trait Signature
signature
pub trait Signature: AsRef<[u8]> + Debug + Sized { fn from_bytes(bytes: &[u8]) -> Result<Self, Error>; fn as_slice(&self) -> &[u8] { ... } }
Trait impl'd by concrete types that represent digital signatures
fn from_bytes(bytes: &[u8]) -> Result<Self, Error>
Parse a signature from its byte representation
fn as_slice(&self) -> &[u8]
Borrow this signature as serialized bytes