Struct embassy_hal_internal::drop::DropBomb
source · pub struct DropBomb { /* private fields */ }
Expand description
An explosive ordinance that panics if it is improperly disposed of.
This is to forbid dropping futures, when there is absolutely no other choice.
To correctly dispose of this device, call the defuse method before this object is dropped.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DropBomb
impl RefUnwindSafe for DropBomb
impl Send for DropBomb
impl Sync for DropBomb
impl Unpin for DropBomb
impl UnwindSafe for DropBomb
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