Trait ethers_core::abi::Tokenizable [−][src]
pub trait Tokenizable { fn from_token(token: Token) -> Result<Self, InvalidOutputType>
where
Self: Sized; fn into_token(self) -> Token; }
Expand description
Simplified output type for single value.
Required methods
fn from_token(token: Token) -> Result<Self, InvalidOutputType> where
Self: Sized,
fn from_token(token: Token) -> Result<Self, InvalidOutputType> where
Self: Sized,
Converts a Token
into expected type.
fn into_token(self) -> Token
fn into_token(self) -> Token
Converts a specified type back into token.