pub enum Value<'a, 'd: 'a> {
Null,
Binary(&'d [u8]),
Bool(bool),
Fd(EncodedFd<&'a dyn ConvertFd>),
Float(f64),
Int(IntValue<'d>),
Str(StrValue<'d>),
Timestamp(Timespec),
Map(MapIterator<'a, 'd>),
Seq(SeqIterator<'a, 'd>),
}
Expand description
A (borrowed) argdata value.
Variants
Null
Binary(&'d [u8])
Bool(bool)
Fd(EncodedFd<&'a dyn ConvertFd>)
Float(f64)
Int(IntValue<'d>)
Str(StrValue<'d>)
Timestamp(Timespec)
Map(MapIterator<'a, 'd>)
Seq(SeqIterator<'a, 'd>)
Implementations
Trait Implementations
impl<'a, 'd: 'a> Copy for Value<'a, 'd>
Auto Trait Implementations
impl<'a, 'd> !RefUnwindSafe for Value<'a, 'd>
impl<'a, 'd> Send for Value<'a, 'd>
impl<'a, 'd> Sync for Value<'a, 'd>
impl<'a, 'd> Unpin for Value<'a, 'd>where
'd: 'a,
impl<'a, 'd> !UnwindSafe for Value<'a, 'd>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more