#[repr(C)]pub struct DirConnector {
pub token: EventPair,
}Expand description
The wire type corresponding to DirConnector.
Fields§
§token: EventPairTrait Implementations§
Source§impl Constrained for DirConnector
impl Constrained for DirConnector
Source§impl Debug for DirConnector
impl Debug for DirConnector
Source§impl<___D> Decode<___D> for DirConnectorwhere
___D: InternalHandleDecoder + ?Sized + HandleDecoder,
impl<___D> Decode<___D> for DirConnectorwhere
___D: InternalHandleDecoder + ?Sized + HandleDecoder,
Source§impl<___E> Encode<DirConnector, ___E> for DirConnectorwhere
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
impl<___E> Encode<DirConnector, ___E> for DirConnectorwhere
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
Source§const COPY_OPTIMIZATION: CopyOptimization<Self, DirConnector>
const COPY_OPTIMIZATION: CopyOptimization<Self, DirConnector>
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<DirConnector>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<DirConnector>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
Source§impl<___E, T0> Encode<DirConnector, ___E> for DirConnector<T0>where
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
T0: Encode<EventPair, ___E>,
impl<___E, T0> Encode<DirConnector, ___E> for DirConnector<T0>where
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
T0: Encode<EventPair, ___E>,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<DirConnector>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<DirConnector>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl FromWire<DirConnector> for DirConnector
impl FromWire<DirConnector> for DirConnector
Source§const COPY_OPTIMIZATION: CopyOptimization<DirConnector, Self>
const COPY_OPTIMIZATION: CopyOptimization<DirConnector, Self>
Source§fn from_wire(wire: DirConnector) -> Self
fn from_wire(wire: DirConnector) -> Self
Converts the given owned value to this type.
Source§impl IntoNatural for DirConnector
impl IntoNatural for DirConnector
Source§type Natural = DirConnector
type Natural = DirConnector
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 DirConnector
impl Wire for DirConnector
Source§type Narrowed<'de> = DirConnector
type Narrowed<'de> = DirConnector
The narrowed wire type, restricted to the
'de lifetime.Source§fn zero_padding(out_: &mut MaybeUninit<Self>)
fn zero_padding(out_: &mut MaybeUninit<Self>)
Writes zeroes to the padding for this type, if any.
Auto Trait Implementations§
impl Freeze for DirConnector
impl RefUnwindSafe for DirConnector
impl Send for DirConnector
impl Sync for DirConnector
impl Unpin for DirConnector
impl UnsafeUnpin for DirConnector
impl UnwindSafe for DirConnector
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, 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]