pub trait Trinary {
// Required methods
fn trits(&self) -> Vec<Trit> ⓘ;
fn trits_with_length(&self, length: usize) -> Vec<Trit> ⓘ;
fn trytes(&self) -> Result<Trytes, Error>;
}Expand description
Trait used to enable conversion to trinary types