pub struct CoreInternal<'a>(/* private fields */);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<'a> DeviceContext for CoreInternal<'a>
Auto Trait Implementations§
impl<'a> Freeze for CoreInternal<'a>
impl<'a> RefUnwindSafe for CoreInternal<'a>
impl<'a> Send for CoreInternal<'a>
impl<'a> Sync for CoreInternal<'a>
impl<'a> Unpin for CoreInternal<'a>
impl<'a> UnsafeUnpin for CoreInternal<'a>
impl<'a> UnwindSafe for CoreInternal<'a>
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> 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