#[repr(C)]pub struct NameMapping<'de> {
pub source_name: WireString<'de>,
pub target_name: WireString<'de>,
}Expand description
The wire type corresponding to NameMapping.
Fields§
§source_name: WireString<'de>§target_name: WireString<'de>Trait Implementations§
Source§impl<'de> Debug for NameMapping<'de>
impl<'de> Debug for NameMapping<'de>
Source§impl<___D> Decode<___D> for NameMapping<'static>where
___D: InternalHandleDecoder + Decoder + ?Sized,
impl<___D> Decode<___D> for NameMapping<'static>where
___D: InternalHandleDecoder + Decoder + ?Sized,
Source§impl<'a, ___E> Encode<NameMapping<'static>, ___E> for &'a NameMappingwhere
___E: InternalHandleEncoder + Encoder + ?Sized,
impl<'a, ___E> Encode<NameMapping<'static>, ___E> for &'a NameMappingwhere
___E: InternalHandleEncoder + Encoder + ?Sized,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<NameMapping<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<NameMapping<'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<NameMapping<'static>, ___E> for NameMappingwhere
___E: InternalHandleEncoder + Encoder + ?Sized,
impl<___E> Encode<NameMapping<'static>, ___E> for NameMappingwhere
___E: InternalHandleEncoder + Encoder + ?Sized,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<NameMapping<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<NameMapping<'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, T0, T1> Encode<NameMapping<'static>, ___E> for NameMapping<T0, T1>where
___E: InternalHandleEncoder + Encoder + ?Sized,
T0: Encode<WireString<'static>, ___E>,
T1: Encode<WireString<'static>, ___E>,
impl<___E, T0, T1> Encode<NameMapping<'static>, ___E> for NameMapping<T0, T1>where
___E: InternalHandleEncoder + Encoder + ?Sized,
T0: Encode<WireString<'static>, ___E>,
T1: Encode<WireString<'static>, ___E>,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<NameMapping<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<NameMapping<'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<'de> FromWire<NameMapping<'de>> for NameMapping
impl<'de> FromWire<NameMapping<'de>> for NameMapping
Source§fn from_wire(wire: NameMapping<'de>) -> NameMapping
fn from_wire(wire: NameMapping<'de>) -> NameMapping
Converts the given
wire to this type.§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl<'de> FromWireRef<NameMapping<'de>> for NameMapping
impl<'de> FromWireRef<NameMapping<'de>> for NameMapping
Source§fn from_wire_ref(wire: &NameMapping<'de>) -> NameMapping
fn from_wire_ref(wire: &NameMapping<'de>) -> NameMapping
Converts the given
wire reference to this type.Source§impl<'de> IntoNatural for NameMapping<'de>
impl<'de> IntoNatural for NameMapping<'de>
Source§type Natural = NameMapping
type Natural = NameMapping
A good default type for this wire type to convert into.
§fn into_natural(self) -> Self::Natural
fn into_natural(self) -> Self::Natural
Converts this type into its natural equivalent.
Source§impl Wire for NameMapping<'static>
impl Wire for NameMapping<'static>
Source§type Owned<'de> = NameMapping<'de>
type Owned<'de> = NameMapping<'de>
The owned wire type, restricted to the
'de lifetime.Source§fn zero_padding(out_: &mut MaybeUninit<NameMapping<'static>>)
fn zero_padding(out_: &mut MaybeUninit<NameMapping<'static>>)
Writes zeroes to the padding for this type, if any.
impl Unconstrained for NameMapping<'static>
Auto Trait Implementations§
impl<'de> Freeze for NameMapping<'de>
impl<'de> RefUnwindSafe for NameMapping<'de>
impl<'de> Send for NameMapping<'de>
impl<'de> Sync for NameMapping<'de>
impl<'de> Unpin for NameMapping<'de>
impl<'de> !UnwindSafe for NameMapping<'de>
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
§impl<T> Constrained for Twhere
T: Unconstrained,
impl<T> Constrained for Twhere
T: Unconstrained,
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> 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]