pub enum Value {
}Variants§
Bytes(Vec<u8>)
String(String)
Bool(bool)
Uint8(u8)
Int8(i8)
Uint16(u16)
Int16(i16)
Uint32(u32)
Int32(i32)
Float32(f32)
Uint64(u64)
Int64(i64)
Float64(f64)
Uint128([u64; 2])
UnknownOrdinal_(u64)
Implementations§
Trait Implementations§
Source§impl CompatFrom<Value> for Value
impl CompatFrom<Value> for Value
Source§fn compat_from(value: Value) -> Self
fn compat_from(value: Value) -> Self
Converts
value into a value of this type.Source§impl CompatFrom<Value> for Value
impl CompatFrom<Value> for Value
Source§fn compat_from(value: Value) -> Self
fn compat_from(value: Value) -> Self
Converts
value into a value of this type.Source§impl<'a, ___E> Encode<Value<'static>, ___E> for &'a Valuewhere
___E: InternalHandleEncoder + ?Sized + Encoder,
impl<'a, ___E> Encode<Value<'static>, ___E> for &'a Valuewhere
___E: InternalHandleEncoder + ?Sized + Encoder,
Source§impl<___E> Encode<Value<'static>, ___E> for Valuewhere
___E: InternalHandleEncoder + ?Sized + Encoder,
impl<___E> Encode<Value<'static>, ___E> for Valuewhere
___E: InternalHandleEncoder + ?Sized + Encoder,
Source§impl<'a, ___E> EncodeOption<Value<'static>, ___E> for &'a Value
impl<'a, ___E> EncodeOption<Value<'static>, ___E> for &'a Value
Source§fn encode_option(
this: Option<Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<Value<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<Self>, encoder: &mut ___E, out: &mut MaybeUninit<Value<'static>>, _: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl<___E> EncodeOption<Value<'static>, ___E> for Value
impl<___E> EncodeOption<Value<'static>, ___E> for Value
Source§fn encode_option(
this: Option<Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<Value<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<Self>, encoder: &mut ___E, out: &mut MaybeUninit<Value<'static>>, _: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl<'de> FromWireOption<Value<'de>> for Box<Value>
impl<'de> FromWireOption<Value<'de>> for Box<Value>
Source§fn from_wire_option(wire: Value<'de>) -> Option<Self>
fn from_wire_option(wire: Value<'de>) -> Option<Self>
Converts the given owned value to an option of this type.
Source§impl<'de> FromWireOption<Value<'de>> for Value
impl<'de> FromWireOption<Value<'de>> for Value
Source§fn from_wire_option(wire: Value<'de>) -> Option<Self>
fn from_wire_option(wire: Value<'de>) -> Option<Self>
Converts the given owned value to an option of this type.
Source§impl<'de> FromWireOptionRef<Value<'de>> for Box<Value>
impl<'de> FromWireOptionRef<Value<'de>> for Box<Value>
Source§fn from_wire_option_ref(wire: &Value<'de>) -> Option<Self>
fn from_wire_option_ref(wire: &Value<'de>) -> Option<Self>
Converts the given reference to an option of this type.
Source§impl<'de> FromWireRef<Value<'de>> for Value
impl<'de> FromWireRef<Value<'de>> for Value
Source§fn from_wire_ref(wire: &Value<'de>) -> Self
fn from_wire_ref(wire: &Value<'de>) -> Self
Converts the given reference to this type.
Source§impl PartialOrd for Value
impl PartialOrd for Value
impl StructuralPartialEq for Value
Auto Trait Implementations§
impl Freeze for Value
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnsafeUnpin for Value
impl UnwindSafe for Value
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]