#[repr(C)]pub struct WireHandleInfo {
pub handle: WireHandle,
pub id: WireU32,
}
Expand description
The wire type corresponding to HandleInfo
.
Fields§
§handle: WireHandle
§id: WireU32
Trait Implementations§
Source§impl Debug for WireHandleInfo
impl Debug for WireHandleInfo
Source§impl<___D> Decode<___D> for WireHandleInfowhere
___D: InternalHandleDecoder + ?Sized + HandleDecoder,
impl<___D> Decode<___D> for WireHandleInfowhere
___D: InternalHandleDecoder + ?Sized + HandleDecoder,
Source§impl FromWire<WireHandleInfo> for HandleInfo
impl FromWire<WireHandleInfo> for HandleInfo
Source§const COPY_OPTIMIZATION: CopyOptimization<WireHandleInfo, Self>
const COPY_OPTIMIZATION: CopyOptimization<WireHandleInfo, Self>
Source§fn from_wire(wire: WireHandleInfo) -> Self
fn from_wire(wire: WireHandleInfo) -> Self
Converts the given
wire
to this type.Source§impl IntoNatural for WireHandleInfo
impl IntoNatural for WireHandleInfo
Source§type Natural = HandleInfo
type Natural = HandleInfo
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 WireHandleInfo
impl Wire for WireHandleInfo
Source§type Decoded<'de> = WireHandleInfo
type Decoded<'de> = WireHandleInfo
The decoded 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 WireHandleInfo
impl RefUnwindSafe for WireHandleInfo
impl Send for WireHandleInfo
impl Sync for WireHandleInfo
impl Unpin for WireHandleInfo
impl UnwindSafe for WireHandleInfo
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
]