Enum eventstore_tcp::adapted::ReadEventError [] [src]

pub enum ReadEventError<'a> {
    NotFound,
    NoStream,
    StreamDeleted,
    Error(Option<Cow<'a, str>>),
    AccessDenied,
}
[]

ReadEventError maps to non-success of ReadEventResult

Variants

[]

Event of requested number was not found (scavenged or never existed)

[]

No such stream

[]

Stream has been deleted

[]

Other error

[]

Access was denied (no credentials provided or insufficient permissions)

Trait Implementations

impl<'a> Debug for ReadEventError<'a>
[src]

[]

Formats the value using the given formatter.

impl<'a> Clone for ReadEventError<'a>
[src]

[]

Returns a copy of the value. Read more

[]

Performs copy-assignment from source. Read more

impl<'a> Eq for ReadEventError<'a>
[src]

impl<'a> PartialEq for ReadEventError<'a>
[src]

[]

This method tests for self and other values to be equal, and is used by ==. Read more

[]

This method tests for !=.

impl<'a> From<(ReadEventResult, Option<Cow<'a, str>>)> for ReadEventError<'a>
[src]

[]

Performs the conversion.