[][src]Struct streamline::Cancel

pub struct Cancel { /* fields omitted */ }

Cancellation handle returned by run_preemptible that can be used to trigger Streamline revert processes from outside the next method

Methods

impl Cancel[src]

pub fn cancel(self) -> Result<(), ()>[src]

Cancellation method for cancelling a Streamline associated with a parent Cancel

Trait Implementations

impl From<Sender<()>> for Cancel[src]

Auto Trait Implementations

impl !RefUnwindSafe for Cancel

impl Send for Cancel

impl Sync for Cancel

impl Unpin for Cancel

impl !UnwindSafe for Cancel

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.