pub struct CallbackHandle { /* private fields */ }
Expand description
A callback handle from UeventListener
.
When dropped, it will unregister the callback. This is asynchronous, so the callback may be called several more times after this.
Trait Implementations§
Source§impl Debug for CallbackHandle
impl Debug for CallbackHandle
Auto Trait Implementations§
impl Freeze for CallbackHandle
impl !RefUnwindSafe for CallbackHandle
impl Send for CallbackHandle
impl Sync for CallbackHandle
impl Unpin for CallbackHandle
impl !UnwindSafe for CallbackHandle
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