#[repr(C)]pub struct WireBusInfo<'de> { /* private fields */ }
Expand description
The wire type corresponding to BusInfo
.
Implementations§
Source§impl<'de> WireBusInfo<'de>
impl<'de> WireBusInfo<'de>
pub fn bus(&self) -> Option<&WireBusType>
pub fn address(&self) -> Option<&WireDeviceAddress<'de>>
pub fn address_stability(&self) -> Option<&WireDeviceAddressStability>
Trait Implementations§
Source§impl<'de> Debug for WireBusInfo<'de>
impl<'de> Debug for WireBusInfo<'de>
Source§impl<___D> Decode<___D> for WireBusInfo<'static>where
___D: Decoder + ?Sized,
impl<___D> Decode<___D> for WireBusInfo<'static>where
___D: Decoder + ?Sized,
Source§impl<'de> Drop for WireBusInfo<'de>
impl<'de> Drop for WireBusInfo<'de>
Source§impl<'de> FromWire<WireBusInfo<'de>> for BusInfo
impl<'de> FromWire<WireBusInfo<'de>> for BusInfo
Source§fn from_wire(wire: WireBusInfo<'de>) -> Self
fn from_wire(wire: WireBusInfo<'de>) -> Self
Converts the given
wire
to this type.§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl<'de> FromWireRef<WireBusInfo<'de>> for BusInfo
impl<'de> FromWireRef<WireBusInfo<'de>> for BusInfo
Source§fn from_wire_ref(wire: &WireBusInfo<'de>) -> Self
fn from_wire_ref(wire: &WireBusInfo<'de>) -> Self
Converts the given
wire
reference to this type.Source§impl Wire for WireBusInfo<'static>
impl Wire for WireBusInfo<'static>
Source§type Decoded<'de> = WireBusInfo<'de>
type Decoded<'de> = WireBusInfo<'de>
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<'de> Freeze for WireBusInfo<'de>
impl<'de> RefUnwindSafe for WireBusInfo<'de>
impl<'de> !Send for WireBusInfo<'de>
impl<'de> !Sync for WireBusInfo<'de>
impl<'de> Unpin for WireBusInfo<'de>
impl<'de> !UnwindSafe for WireBusInfo<'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