pub struct Registration(/* private fields */);
Expand description
The registration of a faux device.
This type represents the registration of a struct faux_device
. When an instance of this type
is dropped, its respective faux device will be unregistered from the system.
§Invariants
self.0
always holds a valid pointer to an initialized and registered struct faux_device
.
Implementations§
Trait Implementations§
Source§impl AsRef<Device> for Registration
impl AsRef<Device> for Registration
Source§impl Drop for Registration
impl Drop for Registration
impl Send for Registration
impl Sync for Registration
Auto Trait Implementations§
impl Freeze for Registration
impl RefUnwindSafe for Registration
impl Unpin for Registration
impl UnwindSafe for Registration
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