pub enum DeviceAddress {
IntValue(u8),
ArrayIntValue(Vec<u8>),
CharIntValue(String),
ArrayCharIntValue(Vec<String>),
StringValue(String),
UnknownOrdinal_(u64),
}Variants§
IntValue(u8)
ArrayIntValue(Vec<u8>)
CharIntValue(String)
ArrayCharIntValue(Vec<String>)
StringValue(String)
UnknownOrdinal_(u64)
Implementations§
Source§impl DeviceAddress
impl DeviceAddress
pub fn is_unknown(&self) -> bool
Trait Implementations§
Source§impl Clone for DeviceAddress
impl Clone for DeviceAddress
Source§fn clone(&self) -> DeviceAddress
fn clone(&self) -> DeviceAddress
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl CompatFrom<DeviceAddress> for DeviceAddress
impl CompatFrom<DeviceAddress> for DeviceAddress
Source§fn compat_from(value: DeviceAddress) -> Self
fn compat_from(value: DeviceAddress) -> Self
Converts
value into a value of this type.Source§impl CompatFrom<DeviceAddress> for DeviceAddress
impl CompatFrom<DeviceAddress> for DeviceAddress
Source§fn compat_from(value: DeviceAddress) -> Self
fn compat_from(value: DeviceAddress) -> Self
Converts
value into a value of this type.Source§impl Debug for DeviceAddress
impl Debug for DeviceAddress
Source§impl<'a, ___E> Encode<DeviceAddress<'static>, ___E> for &'a DeviceAddresswhere
___E: InternalHandleEncoder + ?Sized + Encoder,
impl<'a, ___E> Encode<DeviceAddress<'static>, ___E> for &'a DeviceAddresswhere
___E: InternalHandleEncoder + ?Sized + Encoder,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<DeviceAddress<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<DeviceAddress<'static>>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<___E> Encode<DeviceAddress<'static>, ___E> for DeviceAddresswhere
___E: InternalHandleEncoder + ?Sized + Encoder,
impl<___E> Encode<DeviceAddress<'static>, ___E> for DeviceAddresswhere
___E: InternalHandleEncoder + ?Sized + Encoder,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<DeviceAddress<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<DeviceAddress<'static>>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<'a, ___E> EncodeOption<DeviceAddress<'static>, ___E> for &'a DeviceAddress
impl<'a, ___E> EncodeOption<DeviceAddress<'static>, ___E> for &'a DeviceAddress
Source§fn encode_option(
this: Option<Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<DeviceAddress<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<Self>, encoder: &mut ___E, out: &mut MaybeUninit<DeviceAddress<'static>>, _: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl<___E> EncodeOption<DeviceAddress<'static>, ___E> for DeviceAddress
impl<___E> EncodeOption<DeviceAddress<'static>, ___E> for DeviceAddress
Source§fn encode_option(
this: Option<Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<DeviceAddress<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<Self>, encoder: &mut ___E, out: &mut MaybeUninit<DeviceAddress<'static>>, _: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl<'de> FromWire<DeviceAddress<'de>> for DeviceAddress
impl<'de> FromWire<DeviceAddress<'de>> for DeviceAddress
Source§fn from_wire(wire: DeviceAddress<'de>) -> Self
fn from_wire(wire: DeviceAddress<'de>) -> Self
Converts the given
wire to this type.§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl<'de> FromWireOption<DeviceAddress<'de>> for Box<DeviceAddress>
impl<'de> FromWireOption<DeviceAddress<'de>> for Box<DeviceAddress>
Source§fn from_wire_option(wire: DeviceAddress<'de>) -> Option<Self>
fn from_wire_option(wire: DeviceAddress<'de>) -> Option<Self>
Converts the given
wire to an option of this type.Source§impl<'de> FromWireOption<DeviceAddress<'de>> for DeviceAddress
impl<'de> FromWireOption<DeviceAddress<'de>> for DeviceAddress
Source§fn from_wire_option(wire: DeviceAddress<'de>) -> Option<Self>
fn from_wire_option(wire: DeviceAddress<'de>) -> Option<Self>
Converts the given
wire to an option of this type.Source§impl<'de> FromWireOptionRef<DeviceAddress<'de>> for Box<DeviceAddress>
impl<'de> FromWireOptionRef<DeviceAddress<'de>> for Box<DeviceAddress>
Source§fn from_wire_option_ref(wire: &DeviceAddress<'de>) -> Option<Self>
fn from_wire_option_ref(wire: &DeviceAddress<'de>) -> Option<Self>
Converts the given
wire reference to an option of this type.Source§impl<'de> FromWireRef<DeviceAddress<'de>> for DeviceAddress
impl<'de> FromWireRef<DeviceAddress<'de>> for DeviceAddress
Source§fn from_wire_ref(wire: &DeviceAddress<'de>) -> Self
fn from_wire_ref(wire: &DeviceAddress<'de>) -> Self
Converts the given
wire reference to this type.Source§impl PartialEq for DeviceAddress
impl PartialEq for DeviceAddress
impl StructuralPartialEq for DeviceAddress
Auto Trait Implementations§
impl Freeze for DeviceAddress
impl RefUnwindSafe for DeviceAddress
impl Send for DeviceAddress
impl Sync for DeviceAddress
impl Unpin for DeviceAddress
impl UnwindSafe for DeviceAddress
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<WireBox<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<WireBox<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: WireBox<'_, W>) -> Option<T>
fn from_wire_option(wire: WireBox<'_, W>) -> Option<T>
Converts the given
wire to an option of this type.§impl<T, W> FromWireOptionRef<WireBox<'_, W>> for Twhere
T: FromWireRef<W>,
impl<T, W> FromWireOptionRef<WireBox<'_, W>> for Twhere
T: FromWireRef<W>,
§fn from_wire_option_ref(wire: &WireBox<'_, W>) -> Option<T>
fn from_wire_option_ref(wire: &WireBox<'_, W>) -> Option<T>
Converts the given
wire 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]