[][src]Enum eventstore::types::PersistActionError

pub enum PersistActionError {
    Fail,
    AlreadyExists,
    DoesNotExist,
    AccessDenied,
}

Enumerates all persistent action exceptions.

Variants

Fail

The action failed.

AlreadyExists

Happens when creating a persistent subscription on a stream with a group name already taken.

DoesNotExist

An operation tried to do something on a persistent subscription or a stream that don't exist.

AccessDenied

The current user is not allowed to operate on the supplied stream or persistent subscription.

Trait Implementations

impl Eq for PersistActionError[src]

impl PartialEq<PersistActionError> for PersistActionError[src]

#[must_use]
default fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Debug for PersistActionError[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

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

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

impl<T, U> TryInto 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> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T