Struct ethers::core::abi::token::StrictTokenizer [−]
pub struct StrictTokenizer;
Expand description
Tries to parse string as a token. Require string to clearly represent the value.
Trait Implementations
impl Tokenizer for StrictTokenizer
impl Tokenizer for StrictTokenizer
Tries to parse a value as an address.
pub fn tokenize_string(value: &str) -> Result<String, Error>
pub fn tokenize_string(value: &str) -> Result<String, Error>
Tries to parse a value as a string.
pub fn tokenize_bool(value: &str) -> Result<bool, Error>
pub fn tokenize_bool(value: &str) -> Result<bool, Error>
Tries to parse a value as a bool.
Tries to parse a value as bytes.
Tries to parse a value as bytes.
Tries to parse a value as unsigned integer.
Tries to parse a value as signed integer.
Tries to parse a string as a token of given type.
Tries to parse a value as a vector of tokens of fixed size.
Tried to parse a struct as a vector of tokens
Auto Trait Implementations
impl RefUnwindSafe for StrictTokenizer
impl Send for StrictTokenizer
impl Sync for StrictTokenizer
impl Unpin for StrictTokenizer
impl UnwindSafe for StrictTokenizer
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more