pub enum ThreadSafeFieldValue {
StringVal(String),
IntVal(i32),
PointerVal(u64),
ContextVal(ThreadSafeContext),
TimeVal(i64),
}Expand description
Thread-safe versions of the FieldValue variants provided by
ListIterator.
Variants
- StringVal - A string has been returned. The enum item holds its value.
- IntVal - Integer value.
- PointerVal - A
u64value representing the value of a pointer. - ContextVal - Holds a
ThreadSafeContextthat can be used from other threads. - TimeVal - Holds a
i64value which can be cast to atime_tnumeric value.
Variants§
Trait Implementations§
source§impl Clone for ThreadSafeFieldValue
impl Clone for ThreadSafeFieldValue
source§fn clone(&self) -> ThreadSafeFieldValue
fn clone(&self) -> ThreadSafeFieldValue
Returns a copy 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 ThreadSafeFieldValue
impl Debug for ThreadSafeFieldValue
source§impl Display for ThreadSafeFieldValue
impl Display for ThreadSafeFieldValue
impl Send for ThreadSafeFieldValue
impl Sync for ThreadSafeFieldValue
Auto Trait Implementations§
impl RefUnwindSafe for ThreadSafeFieldValue
impl Unpin for ThreadSafeFieldValue
impl UnwindSafe for ThreadSafeFieldValue
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