Struct hydroflow::util::DroppableChild
source · pub struct DroppableChild(/* private fields */);
Expand description
When a Child
is dropped normally nothing happens but in unit tests you usually want to terminate
the child and wait for it to terminate. DroppableChild
does that for us.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DroppableChild
impl RefUnwindSafe for DroppableChild
impl Send for DroppableChild
impl Sync for DroppableChild
impl Unpin for DroppableChild
impl UnwindSafe for DroppableChild
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