pub enum Kind<'a, S, T, F = Infallible> {
Runtime(Kind<'a>),
Storage(&'a S),
Run(&'a F),
Close {
result: Result<T, &'a S>,
failure: Unmap,
},
}Expand description
Exact startup or teardown causes borrowed without requiring retained owners to format.
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, S, T, F = !> !Send for Kind<'a, S, T, F>
impl<'a, S, T, F = !> !Sync for Kind<'a, S, T, F>
impl<'a, S, T, F> Forget for Kind<'a, S, T, F>
impl<'a, S, T, F> Freeze for Kind<'a, S, T, F>
impl<'a, S, T, F> RefUnwindSafe for Kind<'a, S, T, F>
impl<'a, S, T, F> Unpin for Kind<'a, S, T, F>
impl<'a, S, T, F> UnsafeUnpin for Kind<'a, S, T, F>
impl<'a, S, T, F> UnwindSafe for Kind<'a, S, T, F>
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