pub struct Hold(/* private fields */);Expand description
Bus::hold’s guard: dropping it lets the queue run.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Hold
impl !Send for Hold
impl !Sync for Hold
impl !UnwindSafe for Hold
impl Forget for Hold
impl Freeze for Hold
impl Move for Hold
impl Unpin for Hold
impl UnsafeUnpin for Hold
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