pub enum ThrowContextValues {
}Expand description
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§
Source§impl Clone for ThrowContextValues
impl Clone for ThrowContextValues
Source§fn clone(&self) -> ThrowContextValues
fn clone(&self) -> ThrowContextValues
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ThrowContextValues
impl Debug for ThrowContextValues
Source§impl Display for ThrowContextValues
impl Display for ThrowContextValues
Source§impl<'a> Into<ThrowContextValues> for &'static str
impl<'a> Into<ThrowContextValues> for &'static str
Source§fn into(self) -> ThrowContextValues
fn into(self) -> ThrowContextValues
Converts this type into the (usually inferred) input type.
Source§impl Into<ThrowContextValues> for String
impl Into<ThrowContextValues> for String
Source§fn into(self) -> ThrowContextValues
fn into(self) -> ThrowContextValues
Converts this type into the (usually inferred) input type.
Source§impl Into<ThrowContextValues> for f32
impl Into<ThrowContextValues> for f32
Source§fn into(self) -> ThrowContextValues
fn into(self) -> ThrowContextValues
Converts this type into the (usually inferred) input type.
Source§impl Into<ThrowContextValues> for f64
impl Into<ThrowContextValues> for f64
Source§fn into(self) -> ThrowContextValues
fn into(self) -> ThrowContextValues
Converts this type into the (usually inferred) input type.
Source§impl Into<ThrowContextValues> for i16
impl Into<ThrowContextValues> for i16
Source§fn into(self) -> ThrowContextValues
fn into(self) -> ThrowContextValues
Converts this type into the (usually inferred) input type.
Source§impl Into<ThrowContextValues> for i32
impl Into<ThrowContextValues> for i32
Source§fn into(self) -> ThrowContextValues
fn into(self) -> ThrowContextValues
Converts this type into the (usually inferred) input type.
Source§impl Into<ThrowContextValues> for i64
impl Into<ThrowContextValues> for i64
Source§fn into(self) -> ThrowContextValues
fn into(self) -> ThrowContextValues
Converts this type into the (usually inferred) input type.
Source§impl Into<ThrowContextValues> for i8
impl Into<ThrowContextValues> for i8
Source§fn into(self) -> ThrowContextValues
fn into(self) -> ThrowContextValues
Converts this type into the (usually inferred) input type.
Source§impl Into<ThrowContextValues> for u16
impl Into<ThrowContextValues> for u16
Source§fn into(self) -> ThrowContextValues
fn into(self) -> ThrowContextValues
Converts this type into the (usually inferred) input type.
Source§impl Into<ThrowContextValues> for u32
impl Into<ThrowContextValues> for u32
Source§fn into(self) -> ThrowContextValues
fn into(self) -> ThrowContextValues
Converts this type into the (usually inferred) input type.
Source§impl Into<ThrowContextValues> for u64
impl Into<ThrowContextValues> for u64
Source§fn into(self) -> ThrowContextValues
fn into(self) -> ThrowContextValues
Converts this type into the (usually inferred) input type.
Source§impl Into<ThrowContextValues> for u8
impl Into<ThrowContextValues> for u8
Source§fn into(self) -> ThrowContextValues
fn into(self) -> ThrowContextValues
Converts this type into the (usually inferred) input type.
Auto Trait Implementations§
impl Freeze for ThrowContextValues
impl RefUnwindSafe for ThrowContextValues
impl Send for ThrowContextValues
impl Sync for ThrowContextValues
impl Unpin for ThrowContextValues
impl UnwindSafe for ThrowContextValues
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more