Struct exec_rs::Sentinel[][src]

pub struct Sentinel<'a, I: Invoker + ?Sized> { /* fields omitted */ }

Type that manages calling Invoker::post_invoke when dropped and Invoker::invoke_post_invoke_on_panic is true in case the task panicked.

Trait Implementations

impl<I: Invoker + ?Sized> Drop for Sentinel<'_, I>[src]

Auto Trait Implementations

impl<'a, I: ?Sized> RefUnwindSafe for Sentinel<'a, I> where
    I: RefUnwindSafe

impl<'a, I: ?Sized> Send for Sentinel<'a, I> where
    I: Sync

impl<'a, I: ?Sized> Sync for Sentinel<'a, I> where
    I: Sync

impl<'a, I: ?Sized> Unpin for Sentinel<'a, I>

impl<'a, I: ?Sized> UnwindSafe for Sentinel<'a, I> where
    I: RefUnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.