pub union DriverChannel {
/* private fields */
}Expand description
The FIDL wire type for DriverChannel.
This type follows the FIDL wire format for handles, and is separate from the Zircon handle wire type. This ensures that we never confuse the two types when using FIDL.
Implementations§
Source§impl DriverChannel
impl DriverChannel
Sourcepub fn set_encoded_present(out: &mut MaybeUninit<Self>)
pub fn set_encoded_present(out: &mut MaybeUninit<Self>)
Encodes a driver handle as present in an output.
Sourcepub fn as_raw_handle(&self) -> fdf_handle_t
pub fn as_raw_handle(&self) -> fdf_handle_t
Returns the underlying fdf_handle_t.
Trait Implementations§
Source§impl Constrained for DriverChannel
impl Constrained for DriverChannel
Source§impl Debug for DriverChannel
impl Debug for DriverChannel
Source§impl<D: HandleDecoder + ?Sized> Decode<D> for DriverChannel
impl<D: HandleDecoder + ?Sized> Decode<D> for DriverChannel
Source§impl Drop for DriverChannel
impl Drop for DriverChannel
Source§impl<E: HandleEncoder + ?Sized> Encode<DriverChannel, E> for DriverChannel
impl<E: HandleEncoder + ?Sized> Encode<DriverChannel, E> for DriverChannel
Source§fn encode(
self,
encoder: &mut E,
out: &mut MaybeUninit<DriverChannel>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut E, out: &mut MaybeUninit<DriverChannel>, _: (), ) -> 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<DriverChannel> for DriverChannel
impl FromWire<DriverChannel> for DriverChannel
Source§fn from_wire(wire: DriverChannel) -> Self
fn from_wire(wire: DriverChannel) -> Self
Converts the given owned value to this type.
§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl IntoNatural for DriverChannel
impl IntoNatural for DriverChannel
Source§type Natural = DriverChannel
type Natural = DriverChannel
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 DriverChannel
impl Wire for DriverChannel
Source§type Narrowed<'de> = DriverChannel
type Narrowed<'de> = DriverChannel
The narrowed wire type, restricted to the
'de lifetime.Source§fn zero_padding(_: &mut MaybeUninit<Self>)
fn zero_padding(_: &mut MaybeUninit<Self>)
Writes zeroes to the padding for this type, if any.
Auto Trait Implementations§
impl Freeze for DriverChannel
impl RefUnwindSafe for DriverChannel
impl Send for DriverChannel
impl Sync for DriverChannel
impl Unpin for DriverChannel
impl UnsafeUnpin for DriverChannel
impl UnwindSafe for DriverChannel
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, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§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]