pub enum CtxValue {
Bool(bool),
Int(i64),
Float(f32),
Str(String),
Bytes(Vec<u8>),
}Expand description
Supported value types in the context map.
Variants§
Trait Implementations§
impl StructuralPartialEq for CtxValue
Auto Trait Implementations§
impl Freeze for CtxValue
impl RefUnwindSafe for CtxValue
impl Send for CtxValue
impl Sync for CtxValue
impl Unpin for CtxValue
impl UnsafeUnpin for CtxValue
impl UnwindSafe for CtxValue
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