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
Bool(bool)
Boolean context value
Int8(i8)
8-bit signed context value
Uint8(u8)
8-bit unsigned context value
Int16(i16)
16-bit signed context value
Uint16(u16)
16-bit unsigned context value
Int32(i32)
32-bit signed context value
Uint32(u32)
32-bit unsigned context value
Int64(i64)
64-bit signed context value
Uint64(u64)
64-bit unsigned context value
Float32(f32)
32-bit floating point context value
Float64(f64)
64-bit floating point context value
String(String)
Allocated string context value
StaticStr(&'static str)
Static / program inline string context value
Trait Implementations
impl Debug for ThrowContextValues
[src]
impl Debug for ThrowContextValues
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for ThrowContextValues
[src]
impl Clone for ThrowContextValues
fn clone(&self) -> ThrowContextValues
[src]
fn clone(&self) -> ThrowContextValues
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Display for ThrowContextValues
[src]
impl Display for ThrowContextValues
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Into<ThrowContextValues> for u8
[src]
impl Into<ThrowContextValues> for u8
fn into(self) -> ThrowContextValues
[src]
fn into(self) -> ThrowContextValues
Performs the conversion.
impl Into<ThrowContextValues> for i8
[src]
impl Into<ThrowContextValues> for i8
fn into(self) -> ThrowContextValues
[src]
fn into(self) -> ThrowContextValues
Performs the conversion.
impl Into<ThrowContextValues> for u16
[src]
impl Into<ThrowContextValues> for u16
fn into(self) -> ThrowContextValues
[src]
fn into(self) -> ThrowContextValues
Performs the conversion.
impl Into<ThrowContextValues> for i16
[src]
impl Into<ThrowContextValues> for i16
fn into(self) -> ThrowContextValues
[src]
fn into(self) -> ThrowContextValues
Performs the conversion.
impl Into<ThrowContextValues> for u32
[src]
impl Into<ThrowContextValues> for u32
fn into(self) -> ThrowContextValues
[src]
fn into(self) -> ThrowContextValues
Performs the conversion.
impl Into<ThrowContextValues> for i32
[src]
impl Into<ThrowContextValues> for i32
fn into(self) -> ThrowContextValues
[src]
fn into(self) -> ThrowContextValues
Performs the conversion.
impl Into<ThrowContextValues> for u64
[src]
impl Into<ThrowContextValues> for u64
fn into(self) -> ThrowContextValues
[src]
fn into(self) -> ThrowContextValues
Performs the conversion.
impl Into<ThrowContextValues> for i64
[src]
impl Into<ThrowContextValues> for i64
fn into(self) -> ThrowContextValues
[src]
fn into(self) -> ThrowContextValues
Performs the conversion.
impl Into<ThrowContextValues> for f32
[src]
impl Into<ThrowContextValues> for f32
fn into(self) -> ThrowContextValues
[src]
fn into(self) -> ThrowContextValues
Performs the conversion.
impl Into<ThrowContextValues> for f64
[src]
impl Into<ThrowContextValues> for f64
fn into(self) -> ThrowContextValues
[src]
fn into(self) -> ThrowContextValues
Performs the conversion.
impl<'a> Into<ThrowContextValues> for &'static str
[src]
impl<'a> Into<ThrowContextValues> for &'static str
fn into(self) -> ThrowContextValues
[src]
fn into(self) -> ThrowContextValues
Performs the conversion.
impl Into<ThrowContextValues> for String
[src]
impl Into<ThrowContextValues> for String
fn into(self) -> ThrowContextValues
[src]
fn into(self) -> ThrowContextValues
Performs the conversion.
Auto Trait Implementations
impl Send for ThrowContextValues
impl Send for ThrowContextValues
impl Sync for ThrowContextValues
impl Sync for ThrowContextValues