Struct ethers::abi::token::LenientTokenizer [−]
pub struct LenientTokenizer;
Expand description
Tries to parse string as a token. Does not require string to clearly represent the value.
Trait Implementations
impl Tokenizer for LenientTokenizer
impl Tokenizer for LenientTokenizer
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 LenientTokenizer
impl Send for LenientTokenizer
impl Sync for LenientTokenizer
impl Unpin for LenientTokenizer
impl UnwindSafe for LenientTokenizer
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