pub trait Tagged<T> { fn tag(&self) -> T; }
The quality of having a tag
fn tag(&self) -> T
Returns the tag of a given object
impl Tagged<KeyTag> for Key
impl Tagged<u8> for PublicKey
impl Tagged<u8> for SecretKey
impl Tagged<u8> for Signature
impl Tagged<u8> for Key