Enum rkv::value::Value
[−]
[src]
pub enum Value<'s> { Bool(bool), U64(u64), I64(i64), F64(OrderedFloat<f64>), Instant(i64), Uuid(&'s UuidBytes), Str(&'s str), Json(&'s str), }
Variants
Bool(bool)
U64(u64)
I64(i64)
F64(OrderedFloat<f64>)
Instant(i64)
Uuid(&'s UuidBytes)
Str(&'s str)
Json(&'s str)
Methods
impl<'s> Value<'s>
[src]
pub fn from_tagged_slice(slice: &'s [u8]) -> Result<Value<'s>, DataError>
[src]
pub fn to_bytes(&self) -> Result<Vec<u8>, DataError>
[src]
Trait Implementations
impl<'s> Debug for Value<'s>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more