[−][src]Trait iota_conversion::Trinary
Trait used to enable conversion to trinary types
Required methods
fn trits(&self) -> Vec<Trit>
Provides the trit vector representation of the value
fn trits_with_length(&self, length: usize) -> Vec<Trit>
Provides the trit vector representation of the value with given length, padding with 0
if required
fn trytes(&self) -> Result<Trytes, Error>
Provides the tryte string representation of the value