pub struct AutoShutdown {}Available on crate feature
tokio only.Expand description
A marker struct that can be used to trigger automatic shutdown behavior
for resources managed by the DataHub when it goes out of scope.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AutoShutdown
impl RefUnwindSafe for AutoShutdown
impl Send for AutoShutdown
impl Sync for AutoShutdown
impl Unpin for AutoShutdown
impl UnsafeUnpin for AutoShutdown
impl UnwindSafe for AutoShutdown
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