async_nats::jetstream::context

Type Alias DeleteStreamErrorKind

Source
pub type DeleteStreamErrorKind = GetStreamErrorKind;

Aliased Type§

enum DeleteStreamErrorKind {
    EmptyName,
    Request,
    InvalidStreamName,
    JetStream(Error),
}

Variants§

§

EmptyName

§

Request

§

InvalidStreamName

§

JetStream(Error)

Trait Implementations

Source§

impl Clone for GetStreamErrorKind

Source§

fn clone(&self) -> GetStreamErrorKind

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 GetStreamErrorKind

Source§

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

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

impl Display for GetStreamErrorKind

Source§

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

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

impl PartialEq for GetStreamErrorKind

Source§

fn eq(&self, other: &GetStreamErrorKind) -> 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 GetStreamErrorKind