pub trait Sign<MSG> {
type Signature;
type Error;
// Required method
fn sign(&self, m: MSG) -> Result<Self::Signature, Self::Error>;
}
Available on crate feature
testutils
only.Expand description
Sign implementations produce signatures for types that can be represented as the MSG.