pub enum Data {
Bytes(Vec<u8>),
String(String),
Int64(i64),
Uint64(u64),
UnknownOrdinal_(u64),
}Variants§
Implementations§
Trait Implementations§
Source§impl CompatFrom<Data> for Data
impl CompatFrom<Data> for Data
Source§fn compat_from(value: Data) -> Self
fn compat_from(value: Data) -> Self
Converts
value into a value of this type.Source§impl CompatFrom<Data> for Data
impl CompatFrom<Data> for Data
Source§fn compat_from(value: Data) -> Self
fn compat_from(value: Data) -> Self
Converts
value into a value of this type.Source§impl<'a, ___E> Encode<Data<'static>, ___E> for &'a Datawhere
___E: InternalHandleEncoder + ?Sized + Encoder,
impl<'a, ___E> Encode<Data<'static>, ___E> for &'a Datawhere
___E: InternalHandleEncoder + ?Sized + Encoder,
Source§impl<___E> Encode<Data<'static>, ___E> for Datawhere
___E: InternalHandleEncoder + ?Sized + Encoder,
impl<___E> Encode<Data<'static>, ___E> for Datawhere
___E: InternalHandleEncoder + ?Sized + Encoder,
Source§impl<'a, ___E> EncodeOption<Data<'static>, ___E> for &'a Data
impl<'a, ___E> EncodeOption<Data<'static>, ___E> for &'a Data
Source§fn encode_option(
this: Option<Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<Data<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<Self>, encoder: &mut ___E, out: &mut MaybeUninit<Data<'static>>, _: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl<___E> EncodeOption<Data<'static>, ___E> for Data
impl<___E> EncodeOption<Data<'static>, ___E> for Data
Source§fn encode_option(
this: Option<Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<Data<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<Self>, encoder: &mut ___E, out: &mut MaybeUninit<Data<'static>>, _: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl<'de> FromWireOption<Data<'de>> for Box<Data>
impl<'de> FromWireOption<Data<'de>> for Box<Data>
Source§fn from_wire_option(wire: Data<'de>) -> Option<Self>
fn from_wire_option(wire: Data<'de>) -> Option<Self>
Converts the given owned value to an option of this type.
Source§impl<'de> FromWireOption<Data<'de>> for Data
impl<'de> FromWireOption<Data<'de>> for Data
Source§fn from_wire_option(wire: Data<'de>) -> Option<Self>
fn from_wire_option(wire: Data<'de>) -> Option<Self>
Converts the given owned value to an option of this type.
Source§impl<'de> FromWireOptionRef<Data<'de>> for Box<Data>
impl<'de> FromWireOptionRef<Data<'de>> for Box<Data>
Source§fn from_wire_option_ref(wire: &Data<'de>) -> Option<Self>
fn from_wire_option_ref(wire: &Data<'de>) -> Option<Self>
Converts the given reference to an option of this type.
Source§impl<'de> FromWireRef<Data<'de>> for Data
impl<'de> FromWireRef<Data<'de>> for Data
Source§fn from_wire_ref(wire: &Data<'de>) -> Self
fn from_wire_ref(wire: &Data<'de>) -> Self
Converts the given reference to this type.
Source§impl Ord for Data
impl Ord for Data
Source§impl PartialOrd for Data
impl PartialOrd for Data
impl Eq for Data
impl StructuralPartialEq for Data
Auto Trait Implementations§
impl Freeze for Data
impl RefUnwindSafe for Data
impl Send for Data
impl Sync for Data
impl Unpin for Data
impl UnsafeUnpin for Data
impl UnwindSafe for Data
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]