pub struct BoundInternal;Expand description
Semantically the same as Bound, but reserved for internal usage of the corresponding bus
abstraction.
The internal bound context is intended to be used in exactly the same way as the Bound
context, with the difference that this DeviceContext is internal to the corresponding bus
abstraction.
This context exists for cases where the bus abstraction needs access to internal device
infrastructure (such as Device::drvdata_borrow), where CoreInternal would not be
justified.
Trait Implementations§
impl DeviceContext for BoundInternal
impl InternalBoundContext for BoundInternal
Auto Trait Implementations§
impl Freeze for BoundInternal
impl RefUnwindSafe for BoundInternal
impl Send for BoundInternal
impl Sync for BoundInternal
impl Unpin for BoundInternal
impl UnsafeUnpin for BoundInternal
impl UnwindSafe for BoundInternal
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> KnownSize for T
impl<T> KnownSize for T
Source§impl<T> PinInit<T> for T
impl<T> PinInit<T> for T
Source§unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
Initializes
slot. Read more