[][src]Struct kompact::prelude::KPromise

pub struct KPromise<T: Send + Sized> { /* fields omitted */ }

A custom promise implementation, that can be used to fulfil its paired future.

Note

This API is considered temporary and will eventually be replaced with Rust's async facilities.

Trait Implementations

impl<T: Clone + Send + Sized> Clone for Promise<T>[src]

impl<T: Debug + Send + Sized> Debug for Promise<T>[src]

impl<T: Send + Sized> Fulfillable<T> for Promise<T>[src]

Auto Trait Implementations

impl<T> !RefUnwindSafe for Promise<T>

impl<T> Send for Promise<T>

impl<T> !Sync for Promise<T>

impl<T> Unpin for Promise<T>

impl<T> !UnwindSafe for Promise<T>

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,