#[repr(u32)]pub enum Format {
Json = 1,
Text = 2,
Cbor = 3,
Fxt = 4,
}Expand description
Enum used to specify the output format for Reader results.
Variants§
Trait Implementations§
Source§impl CompatFrom<Format> for Format
impl CompatFrom<Format> for Format
Source§fn compat_from(value: Format) -> Self
fn compat_from(value: Format) -> Self
Converts
value into a value of this type.Source§impl CompatFrom<Format> for Format
impl CompatFrom<Format> for Format
Source§fn compat_from(value: Format) -> Self
fn compat_from(value: Format) -> Self
Converts
value into a value of this type.Source§impl<'a, ___E> Encode<Format, ___E> for &'a Formatwhere
___E: ?Sized,
impl<'a, ___E> Encode<Format, ___E> for &'a Formatwhere
___E: ?Sized,
Source§impl<___E> Encode<Format, ___E> for Formatwhere
___E: ?Sized,
impl<___E> Encode<Format, ___E> for Formatwhere
___E: ?Sized,
Source§impl FromWireRef<Format> for Format
impl FromWireRef<Format> for Format
Source§fn from_wire_ref(wire: &Format) -> Self
fn from_wire_ref(wire: &Format) -> Self
Converts the given reference to this type.
Source§impl Ord for Format
impl Ord for Format
Source§impl PartialOrd for Format
impl PartialOrd for Format
impl Copy for Format
impl Eq for Format
impl StructuralPartialEq for Format
Auto Trait Implementations§
impl Freeze for Format
impl RefUnwindSafe for Format
impl Send for Format
impl Sync for Format
impl Unpin for Format
impl UnsafeUnpin for Format
impl UnwindSafe for Format
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<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: Box<'_, W>) -> Option<T>
fn from_wire_option(wire: Box<'_, W>) -> Option<T>
Converts the given owned value to an option of this type.
§impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
§fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
Converts the given reference to an option of this type.
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]