pub struct Core;
Expand description
The Core
context is the context of a bus specific device when it appears as argument of
any bus specific callback, such as probe()
.
The core context indicates that the Device<Core>
reference’s scope is limited to the bus
callback it appears in. It is intended to be used for synchronization purposes. Bus device
implementations can implement methods for Device<Core>
, such that they can only be called
from bus callbacks.
Trait Implementations§
impl DeviceContext for Core
Auto Trait Implementations§
impl Freeze for Core
impl RefUnwindSafe for Core
impl Send for Core
impl Sync for Core
impl Unpin for Core
impl UnwindSafe for Core
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