[][src]Struct gio::GioFuture

pub struct GioFuture<F, O, T, E> { /* fields omitted */ }

Methods

impl<F, O, T: 'static, E: 'static> GioFuture<F, O, T, E> where
    O: Clone + 'static,
    F: FnOnce(&O, GioFutureResult<T, E>) -> Cancellable + 'static, 
[src]

pub fn new(obj: &O, schedule_operation: F) -> GioFuture<F, O, T, E>[src]

Trait Implementations

impl<F, O, T, E> Drop for GioFuture<F, O, T, E>[src]

impl<F, O, T, E> Future for GioFuture<F, O, T, E> where
    O: Clone + 'static,
    F: FnOnce(&O, GioFutureResult<T, E>) -> Cancellable + 'static, 
[src]

type Output = Result<T, E>

The type of value produced on completion.

impl<F, O, T, E> Unpin for GioFuture<F, O, T, E>[src]

Auto Trait Implementations

impl<F, O, T, E> !RefUnwindSafe for GioFuture<F, O, T, E>

impl<F, O, T, E> Send for GioFuture<F, O, T, E> where
    E: Send,
    F: Send,
    O: Send,
    T: Send

impl<F, O, T, E> Sync for GioFuture<F, O, T, E> where
    E: Send,
    F: Sync,
    O: Sync,
    T: Send

impl<F, O, T, E> !UnwindSafe for GioFuture<F, O, T, E>

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> FutureExt for T where
    T: Future + ?Sized
[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<F, T, E> TryFuture for F where
    F: Future<Output = Result<T, E>> + ?Sized
[src]

type Ok = T

The type of successful values yielded by this future

type Error = E

The type of failures yielded by this future

impl<Fut> TryFutureExt for Fut where
    Fut: TryFuture + ?Sized
[src]

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.