Enum throw::ThrowContextValues[][src]

pub enum ThrowContextValues {
    Bool(bool),
    Int8(i8),
    Uint8(u8),
    Int16(i16),
    Uint16(u16),
    Int32(i32),
    Uint32(u32),
    Int64(i64),
    Uint64(u64),
    Float32(f32),
    Float64(f64),
    String(String),
    StaticStr(&'static str),
}

Types allowed to be value in the context vector

Variants

Boolean context value

8-bit signed context value

8-bit unsigned context value

16-bit signed context value

16-bit unsigned context value

32-bit signed context value

32-bit unsigned context value

64-bit signed context value

64-bit unsigned context value

32-bit floating point context value

64-bit floating point context value

Allocated string context value

Static / program inline string context value

Trait Implementations

impl Debug for ThrowContextValues
[src]

Formats the value using the given formatter. Read more

impl Clone for ThrowContextValues
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Display for ThrowContextValues
[src]

Formats the value using the given formatter. Read more

impl Into<ThrowContextValues> for u8
[src]

Performs the conversion.

impl Into<ThrowContextValues> for i8
[src]

Performs the conversion.

impl Into<ThrowContextValues> for u16
[src]

Performs the conversion.

impl Into<ThrowContextValues> for i16
[src]

Performs the conversion.

impl Into<ThrowContextValues> for u32
[src]

Performs the conversion.

impl Into<ThrowContextValues> for i32
[src]

Performs the conversion.

impl Into<ThrowContextValues> for u64
[src]

Performs the conversion.

impl Into<ThrowContextValues> for i64
[src]

Performs the conversion.

impl Into<ThrowContextValues> for f32
[src]

Performs the conversion.

impl Into<ThrowContextValues> for f64
[src]

Performs the conversion.

impl<'a> Into<ThrowContextValues> for &'static str
[src]

Performs the conversion.

impl Into<ThrowContextValues> for String
[src]

Performs the conversion.

Auto Trait Implementations