#[repr(u8)]pub enum ArchivedDecodedValuewhere
bool: Archive,
i64: Archive,
f64: Archive,
String: Archive,
Vec<u8>: Archive,
[u8; 16]: Archive,
i32: Archive,{
Show 17 variants
Null,
Bool(<bool as Archive>::Archived),
I64(<i64 as Archive>::Archived),
F64(<f64 as Archive>::Archived),
Str(<String as Archive>::Archived),
Bytes(<Vec<u8> as Archive>::Archived),
Uuid(<[u8; 16] as Archive>::Archived),
Decimal(<String as Archive>::Archived),
Interval {
months: <i32 as Archive>::Archived,
days: <i32 as Archive>::Archived,
microseconds: <i64 as Archive>::Archived,
},
Date(<i32 as Archive>::Archived),
Time(<i64 as Archive>::Archived),
Timestamp(<i64 as Archive>::Archived),
Timestamptz(<i64 as Archive>::Archived),
Array(<Vec<DecodedValue> as Archive>::Archived),
Composite(<Vec<DecodedValue> as Archive>::Archived),
Object(<Vec<(String, DecodedValue)> as Archive>::Archived),
Range {
lower: <Option<Box<DecodedValue>> as Archive>::Archived,
upper: <Option<Box<DecodedValue>> as Archive>::Archived,
inc_lower: <bool as Archive>::Archived,
inc_upper: <bool as Archive>::Archived,
empty: <bool as Archive>::Archived,
},
}Expand description
An archived DecodedValue
Variants§
Null
The archived counterpart of DecodedValue::Null
Bool(<bool as Archive>::Archived)
The archived counterpart of DecodedValue::Bool
Tuple Fields
0: <bool as Archive>::ArchivedThe archived counterpart of DecodedValue::Bool::0
I64(<i64 as Archive>::Archived)
The archived counterpart of DecodedValue::I64
Tuple Fields
0: <i64 as Archive>::ArchivedThe archived counterpart of DecodedValue::I64::0
F64(<f64 as Archive>::Archived)
The archived counterpart of DecodedValue::F64
Tuple Fields
0: <f64 as Archive>::ArchivedThe archived counterpart of DecodedValue::F64::0
Str(<String as Archive>::Archived)
The archived counterpart of DecodedValue::Str
Tuple Fields
0: <String as Archive>::ArchivedThe archived counterpart of DecodedValue::Str::0
Bytes(<Vec<u8> as Archive>::Archived)
The archived counterpart of DecodedValue::Bytes
Uuid(<[u8; 16] as Archive>::Archived)
The archived counterpart of DecodedValue::Uuid
Decimal(<String as Archive>::Archived)
The archived counterpart of DecodedValue::Decimal
Tuple Fields
0: <String as Archive>::ArchivedThe archived counterpart of DecodedValue::Decimal::0
Interval
The archived counterpart of DecodedValue::Interval
Fields
months: <i32 as Archive>::ArchivedThe archived counterpart of DecodedValue::Interval::months
days: <i32 as Archive>::ArchivedThe archived counterpart of DecodedValue::Interval::days
microseconds: <i64 as Archive>::ArchivedThe archived counterpart of DecodedValue::Interval::microseconds
Date(<i32 as Archive>::Archived)
The archived counterpart of DecodedValue::Date
Tuple Fields
0: <i32 as Archive>::ArchivedThe archived counterpart of DecodedValue::Date::0
Time(<i64 as Archive>::Archived)
The archived counterpart of DecodedValue::Time
Tuple Fields
0: <i64 as Archive>::ArchivedThe archived counterpart of DecodedValue::Time::0
Timestamp(<i64 as Archive>::Archived)
The archived counterpart of DecodedValue::Timestamp
Tuple Fields
0: <i64 as Archive>::ArchivedThe archived counterpart of DecodedValue::Timestamp::0
Timestamptz(<i64 as Archive>::Archived)
The archived counterpart of DecodedValue::Timestamptz
Tuple Fields
0: <i64 as Archive>::ArchivedThe archived counterpart of DecodedValue::Timestamptz::0
Array(<Vec<DecodedValue> as Archive>::Archived)
The archived counterpart of DecodedValue::Array
Tuple Fields
0: <Vec<DecodedValue> as Archive>::ArchivedThe archived counterpart of DecodedValue::Array::0
Composite(<Vec<DecodedValue> as Archive>::Archived)
The archived counterpart of DecodedValue::Composite
Tuple Fields
0: <Vec<DecodedValue> as Archive>::ArchivedThe archived counterpart of DecodedValue::Composite::0
Object(<Vec<(String, DecodedValue)> as Archive>::Archived)
The archived counterpart of DecodedValue::Object
Tuple Fields
0: <Vec<(String, DecodedValue)> as Archive>::ArchivedThe archived counterpart of DecodedValue::Object::0
Range
The archived counterpart of DecodedValue::Range
Fields
lower: <Option<Box<DecodedValue>> as Archive>::ArchivedThe archived counterpart of DecodedValue::Range::lower
upper: <Option<Box<DecodedValue>> as Archive>::ArchivedThe archived counterpart of DecodedValue::Range::upper
inc_lower: <bool as Archive>::ArchivedThe archived counterpart of DecodedValue::Range::inc_lower
inc_upper: <bool as Archive>::ArchivedThe archived counterpart of DecodedValue::Range::inc_upper
empty: <bool as Archive>::ArchivedThe archived counterpart of DecodedValue::Range::empty
Trait Implementations§
Source§impl Debug for ArchivedDecodedValue
impl Debug for ArchivedDecodedValue
Source§impl PartialEq<ArchivedDecodedValue> for DecodedValuewhere
bool: Archive,
i64: Archive,
f64: Archive,
String: Archive,
Vec<u8>: Archive,
[u8; 16]: Archive,
i32: Archive,
<bool as Archive>::Archived: PartialEq<bool>,
<i64 as Archive>::Archived: PartialEq<i64>,
<f64 as Archive>::Archived: PartialEq<f64>,
<String as Archive>::Archived: PartialEq<String>,
<Vec<u8> as Archive>::Archived: PartialEq<Vec<u8>>,
<[u8; 16] as Archive>::Archived: PartialEq<[u8; 16]>,
<i32 as Archive>::Archived: PartialEq<i32>,
impl PartialEq<ArchivedDecodedValue> for DecodedValuewhere
bool: Archive,
i64: Archive,
f64: Archive,
String: Archive,
Vec<u8>: Archive,
[u8; 16]: Archive,
i32: Archive,
<bool as Archive>::Archived: PartialEq<bool>,
<i64 as Archive>::Archived: PartialEq<i64>,
<f64 as Archive>::Archived: PartialEq<f64>,
<String as Archive>::Archived: PartialEq<String>,
<Vec<u8> as Archive>::Archived: PartialEq<Vec<u8>>,
<[u8; 16] as Archive>::Archived: PartialEq<[u8; 16]>,
<i32 as Archive>::Archived: PartialEq<i32>,
Source§impl PartialEq<DecodedValue> for ArchivedDecodedValuewhere
bool: Archive,
i64: Archive,
f64: Archive,
String: Archive,
Vec<u8>: Archive,
[u8; 16]: Archive,
i32: Archive,
<bool as Archive>::Archived: PartialEq<bool>,
<i64 as Archive>::Archived: PartialEq<i64>,
<f64 as Archive>::Archived: PartialEq<f64>,
<String as Archive>::Archived: PartialEq<String>,
<Vec<u8> as Archive>::Archived: PartialEq<Vec<u8>>,
<[u8; 16] as Archive>::Archived: PartialEq<[u8; 16]>,
<i32 as Archive>::Archived: PartialEq<i32>,
impl PartialEq<DecodedValue> for ArchivedDecodedValuewhere
bool: Archive,
i64: Archive,
f64: Archive,
String: Archive,
Vec<u8>: Archive,
[u8; 16]: Archive,
i32: Archive,
<bool as Archive>::Archived: PartialEq<bool>,
<i64 as Archive>::Archived: PartialEq<i64>,
<f64 as Archive>::Archived: PartialEq<f64>,
<String as Archive>::Archived: PartialEq<String>,
<Vec<u8> as Archive>::Archived: PartialEq<Vec<u8>>,
<[u8; 16] as Archive>::Archived: PartialEq<[u8; 16]>,
<i32 as Archive>::Archived: PartialEq<i32>,
impl Portable for ArchivedDecodedValuewhere
bool: Archive,
i64: Archive,
f64: Archive,
String: Archive,
Vec<u8>: Archive,
[u8; 16]: Archive,
i32: Archive,
<bool as Archive>::Archived: Portable,
<i64 as Archive>::Archived: Portable,
<f64 as Archive>::Archived: Portable,
<String as Archive>::Archived: Portable,
<Vec<u8> as Archive>::Archived: Portable,
<[u8; 16] as Archive>::Archived: Portable,
<i32 as Archive>::Archived: Portable,
<Vec<DecodedValue> as Archive>::Archived: Portable,
<Vec<(String, DecodedValue)> as Archive>::Archived: Portable,
<Option<Box<DecodedValue>> as Archive>::Archived: Portable,
Auto Trait Implementations§
impl !Unpin for ArchivedDecodedValue
impl !UnsafeUnpin for ArchivedDecodedValue
impl Freeze for ArchivedDecodedValue
impl RefUnwindSafe for ArchivedDecodedValue
impl Send for ArchivedDecodedValue
impl Sync for ArchivedDecodedValue
impl UnwindSafe for ArchivedDecodedValue
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
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
Source§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Source§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
Source§unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
Source§fn resolve_niched(out: Place<NichedOption<T, N1>>)
fn resolve_niched(out: Place<NichedOption<T, N1>>)
out indicating that a T is niched.