Type Alias Trytes

Source
pub type Trytes = String;
Expand description

Type alias for String

Aliased Type§

pub struct Trytes { /* private fields */ }

Trait Implementations§

Source§

impl Trinary for Trytes

Source§

fn trits(&self) -> Vec<Trit>

Provides the trit vector representation of the value
Source§

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
Source§

fn trytes(&self) -> Result<Trytes, Error>

Provides the tryte string representation of the value