#[repr(C, align(4))]
pub union WireDriverChannel {
/* 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 WireDriverChannel
impl WireDriverChannel
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 Debug for WireDriverChannel
impl Debug for WireDriverChannel
Source§impl<D: HandleDecoder + ?Sized> Decode<D> for WireDriverChannel
impl<D: HandleDecoder + ?Sized> Decode<D> for WireDriverChannel
Source§impl Drop for WireDriverChannel
impl Drop for WireDriverChannel
Source§impl FromWire<WireDriverChannel> for DriverChannel
impl FromWire<WireDriverChannel> for DriverChannel
Source§fn from_wire(wire: WireDriverChannel) -> Self
fn from_wire(wire: WireDriverChannel) -> Self
Converts the given
wire
to this type.§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl Wire for WireDriverChannel
impl Wire for WireDriverChannel
Source§type Decoded<'de> = WireDriverChannel
type Decoded<'de> = WireDriverChannel
The decoded 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 WireDriverChannel
impl RefUnwindSafe for WireDriverChannel
impl Send for WireDriverChannel
impl Sync for WireDriverChannel
impl Unpin for WireDriverChannel
impl UnwindSafe for WireDriverChannel
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