pub struct Registered;Expand description
The DeviceContext of a Device that is currently registered with userspace.
A Device in this context is guaranteed to be registered and its parent bus device is
guaranteed to be bound. This is enforced at runtime by RegistrationGuard, which holds a
drm_dev_enter() / drm_dev_exit() SRCU critical section.
§Invariants
The parent bus device is bound for the duration of any reference to a Device<T, Registered>.
Trait Implementations§
impl DeviceContext for Registered
Auto Trait Implementations§
impl Freeze for Registered
impl RefUnwindSafe for Registered
impl Send for Registered
impl Sync for Registered
impl Unpin for Registered
impl UnsafeUnpin for Registered
impl UnwindSafe for Registered
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