pub struct TryRuntimeComponentWithShutdown<C, F, E> { /* private fields */ }Expand description
Fallible component factory that receives the runtime’s shared shutdown token.
Trait Implementations§
Source§impl<S, C, F, E> AsterRuntimeComponent<S> for TryRuntimeComponentWithShutdown<C, F, E>
impl<S, C, F, E> AsterRuntimeComponent<S> for TryRuntimeComponentWithShutdown<C, F, E>
Auto Trait Implementations§
impl<C, F, E> Freeze for TryRuntimeComponentWithShutdown<C, F, E>where
F: Freeze,
impl<C, F, E> RefUnwindSafe for TryRuntimeComponentWithShutdown<C, F, E>where
F: RefUnwindSafe,
impl<C, F, E> Send for TryRuntimeComponentWithShutdown<C, F, E>where
F: Send,
impl<C, F, E> Sync for TryRuntimeComponentWithShutdown<C, F, E>where
F: Sync,
impl<C, F, E> Unpin for TryRuntimeComponentWithShutdown<C, F, E>where
F: Unpin,
impl<C, F, E> UnsafeUnpin for TryRuntimeComponentWithShutdown<C, F, E>where
F: UnsafeUnpin,
impl<C, F, E> UnwindSafe for TryRuntimeComponentWithShutdown<C, F, E>where
F: UnwindSafe,
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