#[non_exhaustive]#[repr(u16)]pub enum QueryFormat {
RawBinary = 0,
JsonPointer = 1,
}Expand description
Reserved Query formats (0..=4095 reserved for REPE)
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for QueryFormat
impl Clone for QueryFormat
Source§fn clone(&self) -> QueryFormat
fn clone(&self) -> QueryFormat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for QueryFormat
Source§impl Debug for QueryFormat
impl Debug for QueryFormat
impl Eq for QueryFormat
Source§impl PartialEq for QueryFormat
impl PartialEq for QueryFormat
Source§impl<'de> Read<'de> for QueryFormat
impl<'de> Read<'de> for QueryFormat
Source§impl<'de> Read<'de> for QueryFormat
impl<'de> Read<'de> for QueryFormat
Source§impl<'de> ReadEnum<'de> for QueryFormat
impl<'de> ReadEnum<'de> for QueryFormat
Source§impl<'de> ReadEnum<'de> for QueryFormat
impl<'de> ReadEnum<'de> for QueryFormat
impl StructuralPartialEq for QueryFormat
Source§impl TryFrom<u16> for QueryFormat
impl TryFrom<u16> for QueryFormat
Source§impl Variants for QueryFormat
impl Variants for QueryFormat
Source§impl Write for QueryFormat
impl Write for QueryFormat
Source§impl Write for QueryFormat
impl Write for QueryFormat
Source§const ARRAY: Option<&'static [u8]>
const ARRAY: Option<&'static [u8]>
The header bytes a contiguous run of this type is stored under, or
None if it has no array form of its own and belongs in a generic one. Read morefn write<O>(&self, w: &mut Writer<'_, O>)where
O: Options,
Source§fn write_payload<O>(items: &[QueryFormat], w: &mut Writer<'_, O>)
fn write_payload<O>(items: &[QueryFormat], w: &mut Writer<'_, O>)
Append
items as the payload of a typed array whose header and count
the caller has already written. Read moreAuto Trait Implementations§
impl Freeze for QueryFormat
impl RefUnwindSafe for QueryFormat
impl Send for QueryFormat
impl Sync for QueryFormat
impl Unpin for QueryFormat
impl UnsafeUnpin for QueryFormat
impl UnwindSafe for QueryFormat
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.