Struct iroh_net::test_utils::CleanupDropGuard
source · pub struct CleanupDropGuard(/* private fields */);Available on
test or crate feature test-utils only.Expand description
A drop guard to clean up test infrastructure.
After dropping the test infrastructure will asynchronously shutdown and release its resources.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CleanupDropGuard
impl !RefUnwindSafe for CleanupDropGuard
impl Send for CleanupDropGuard
impl Sync for CleanupDropGuard
impl Unpin for CleanupDropGuard
impl !UnwindSafe for CleanupDropGuard
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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