pub struct LenientTokenizer;
Expand description

Tries to parse string as a token. Does not require string to clearly represent the value.

Trait Implementations§

Tries to parse a value as an address.
Tries to parse a value as a string.
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
Tries to parse a value as a vector of tokens.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.