Trait ethcontract::tokens::Tokenize
source · pub trait Tokenize {
// Required methods
fn from_token(token: Token) -> Result<Self, Error>
where Self: Sized;
fn into_token(self) -> Token;
}Expand description
Rust type and single token conversion.
Required Methods§
sourcefn into_token(self) -> Token
fn into_token(self) -> Token
Convert token into Self.