pub struct ResumeRequesterRegistration { /* private fields */ }Expand description
A registration handle returned by Driver::register_resume_requester.
The user MUST call unregister to unregister the resume requester when it is no longer valid.
Implementations§
Source§impl ResumeRequesterRegistration
impl ResumeRequesterRegistration
Sourcepub fn unregister(self)
pub fn unregister(self)
Unregisters the resume requester from the runtime and frees the memory associated with it.
Trait Implementations§
Source§impl Debug for ResumeRequesterRegistration
impl Debug for ResumeRequesterRegistration
impl Send for ResumeRequesterRegistration
Auto Trait Implementations§
impl Freeze for ResumeRequesterRegistration
impl RefUnwindSafe for ResumeRequesterRegistration
impl !Sync for ResumeRequesterRegistration
impl Unpin for ResumeRequesterRegistration
impl UnsafeUnpin for ResumeRequesterRegistration
impl UnwindSafe for ResumeRequesterRegistration
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