#[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
impl Copy for QueryFormat
Source§impl Debug for QueryFormat
impl Debug for QueryFormat
impl Eq for QueryFormat
Source§impl From<QueryFormat> for u16
impl From<QueryFormat> for u16
Source§fn from(v: QueryFormat) -> Self
fn from(v: QueryFormat) -> Self
Converts to this type from the input type.
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: Options>(&self, w: &mut Writer<'_, O>)
Auto 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