Trait crypto::signatures::ternary::Signature [−][src]
pub trait Signature { type Error; fn size(&self) -> usize; fn from_trits(buf: TritBuf<T1B1Buf>) -> Result<Self, Self::Error>
where
Self: Sized; fn as_trits(&self) -> &Trits<T1B1>; }
This is supported on crate feature
ternary_signatures
only.A ternary signature.
Associated Types
Loading content...Required methods
fn size(&self) -> usize
[src]
Returns the size of the signature.
fn from_trits(buf: TritBuf<T1B1Buf>) -> Result<Self, Self::Error> where
Self: Sized,
[src]
Self: Sized,
Creates a signature from trits.
fn as_trits(&self) -> &Trits<T1B1>
[src]
Interprets the signature as trits.
Implementors
Loading content...