[][src]Struct nakadion::consumer::ConsumerError

pub struct ConsumerError { /* fields omitted */ }

Always leads to Nakadion shutting down

Implementations

impl ConsumerError[src]

pub fn new(kind: ConsumerErrorKind) -> Self[src]

pub fn internal() -> Self[src]

pub fn other() -> Self[src]

pub fn connect_stream() -> Self[src]

pub fn new_with_message<M: Display>(kind: ConsumerErrorKind, message: M) -> Self[src]

pub fn with_message<T: Display>(self, message: T) -> Self[src]

pub fn with_source<E: StdError + Send + Sync + 'static>(self, source: E) -> Self[src]

pub fn with_kind(self, kind: ConsumerErrorKind) -> Self[src]

pub fn kind(&self) -> ConsumerErrorKind[src]

pub fn message(&self) -> Option<&str>[src]

Trait Implementations

impl Debug for ConsumerError[src]

impl Display for ConsumerError[src]

impl Error for ConsumerError[src]

impl From<ConsumerError> for Error[src]

impl From<ConsumerErrorKind> for ConsumerError[src]

impl From<Error> for ConsumerError[src]

impl From<JoinError> for ConsumerError[src]

Auto Trait Implementations

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> ToString for T where
    T: Display + ?Sized
[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<V, T> VZip<V> for T where
    V: MultiLane<T>,