[][src]Enum teaclave_types::TaskResult

pub enum TaskResult {
    NotReady,
    Ok(TaskOutputs),
    Err(TaskFailure),
}

Variants

NotReady
Ok(TaskOutputs)
Err(TaskFailure)

Methods

impl TaskResult[src]

pub fn is_ok(&self) -> bool[src]

Trait Implementations

impl Clone for TaskResult[src]

impl Debug for TaskResult[src]

impl Default for TaskResult[src]

impl<'de> Deserialize<'de> for TaskResult[src]

impl<T, E> From<TaskResult> for Option<Result<T, E>> where
    T: From<TaskOutputs>,
    E: From<TaskFailure>, 
[src]

impl Serialize for TaskResult[src]

impl<T> TryFrom<Option<T>> for TaskResult where
    T: TryInto<TaskResult, Error = Error>, 
[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for TaskResult

impl Send for TaskResult

impl Sync for TaskResult

impl Unpin for TaskResult

impl UnwindSafe for TaskResult

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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[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>, 
[src]