Enum value_bag::test::Token[−][src]

#[non_exhaustive]
pub enum Token {
    U64(u64),
    I64(i64),
    F64(f64),
    U128(u128),
    I128(i128),
    Char(char),
    Bool(bool),
    Str(String),
    None,
    Error,
    Sval(Sval),
    Serde(Serde),
}
Expand description

A tokenized representation of the captured value.

Variants (Non-exhaustive)

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
U64(u64)

Tuple Fields of U64

0: u64
I64(i64)

Tuple Fields of I64

0: i64
F64(f64)

Tuple Fields of F64

0: f64
U128(u128)

Tuple Fields of U128

0: u128
I128(i128)

Tuple Fields of I128

0: i128
Char(char)

Tuple Fields of Char

0: char
Bool(bool)

Tuple Fields of Bool

0: bool
Str(String)

Tuple Fields of Str

0: String
None
Error
Sval(Sval)

Tuple Fields of Sval

0: Sval
Serde(Serde)

Tuple Fields of Serde

0: Serde

Trait Implementations

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

Performs the conversion.

Performs the conversion.

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.