async_nats::jetstream::stream

Type Alias RawMessageErrorKind

Source
pub type RawMessageErrorKind = LastRawMessageErrorKind;

Aliased Type§

enum RawMessageErrorKind {
    NoMessageFound,
    InvalidSubject,
    JetStream(Error),
    Other,
}

Variants§

§

NoMessageFound

§

InvalidSubject

§

JetStream(Error)

§

Other

Trait Implementations

Source§

impl Clone for LastRawMessageErrorKind

Source§

fn clone(&self) -> LastRawMessageErrorKind

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for LastRawMessageErrorKind

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for LastRawMessageErrorKind

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for LastRawMessageErrorKind

Source§

fn eq(&self, other: &LastRawMessageErrorKind) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for LastRawMessageErrorKind