[][src]Struct declarative_dataflow::Error

pub struct Error {
    pub category: String,
    pub message: String,
}

A client-facing, non-exceptional error.

Fields

category: String

Error category.

message: String

Free-frorm description.

Methods

impl Error[src]

pub fn incorrect<E: ToString>(error: E) -> Error[src]

Fix client bug.

pub fn not_found<E: ToString>(error: E) -> Error[src]

Fix client noun.

pub fn conflict<E: ToString>(error: E) -> Error[src]

Coordinate with worker.

pub fn fault<E: ToString>(error: E) -> Error[src]

Fix worker bug.

pub fn unsupported<E: ToString>(error: E) -> Error[src]

Fix client verb.

Trait Implementations

impl Clone for Error[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Error[src]

impl Serialize for Error[src]

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

Auto Trait Implementations

impl Sync for Error

impl Unpin for Error

impl Send for Error

impl UnwindSafe for Error

impl RefUnwindSafe for Error

Blanket Implementations

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> From<T> for 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.

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

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

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

impl<T> Data for T where
    T: 'static + Send + Sync + Any + Deserialize<'a> + Serialize

impl<T> Data for T where
    T: 'static + Clone
[src]

impl<T> ExchangeData for T where
    T: Data + Data, 
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]