#[repr(C)]pub struct Address {
pub bus: u8,
pub device: u8,
pub function: u8,
}Expand description
The wire type corresponding to Address.
Fields§
§bus: u8§device: u8§function: u8Trait Implementations§
Source§impl<'a, ___E> Encode<Address, ___E> for &'a Addresswhere
___E: InternalHandleEncoder + ?Sized,
impl<'a, ___E> Encode<Address, ___E> for &'a Addresswhere
___E: InternalHandleEncoder + ?Sized,
Source§impl<___E> Encode<Address, ___E> for Addresswhere
___E: InternalHandleEncoder + ?Sized,
impl<___E> Encode<Address, ___E> for Addresswhere
___E: InternalHandleEncoder + ?Sized,
Source§const COPY_OPTIMIZATION: CopyOptimization<Self, Address>
const COPY_OPTIMIZATION: CopyOptimization<Self, Address>
Source§impl<___E, T0, T1, T2> Encode<Address, ___E> for Address<T0, T1, T2>
impl<___E, T0, T1, T2> Encode<Address, ___E> for Address<T0, T1, T2>
Source§impl FromWireRef<Address> for Address
impl FromWireRef<Address> for Address
Source§fn from_wire_ref(wire: &Address) -> Self
fn from_wire_ref(wire: &Address) -> Self
Converts the given reference to this type.
Auto Trait Implementations§
impl Freeze for Address
impl RefUnwindSafe for Address
impl Send for Address
impl Sync for Address
impl Unpin for Address
impl UnsafeUnpin for Address
impl UnwindSafe for Address
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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]