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