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