pub struct CoreInternal;
Expand description
Semantically the same as Core
, but reserved for internal usage of the corresponding bus
abstraction.
The internal core context is intended to be used in exactly the same way as the Core
context, with the difference that this DeviceContext
is internal to the corresponding bus
abstraction.
This context mainly exists to share generic Device
infrastructure that should only be called
from bus callbacks with bus abstractions, but without making them accessible for drivers.
Trait Implementations§
impl DeviceContext for CoreInternal
Auto Trait Implementations§
impl Freeze for CoreInternal
impl RefUnwindSafe for CoreInternal
impl Send for CoreInternal
impl Sync for CoreInternal
impl Unpin for CoreInternal
impl UnwindSafe for CoreInternal
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> 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