Enum eventstore_tcp::adapted::ReadStreamError [] [src]

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

Non-success projection of the ReadStreamResult enum on the wire representing a failed ReadStreamCompleted request.

Variants

[]

Stream was not found

[]

Stream has been deleted

[]

Unknown when this happens: it is not retuned when reading past the last event in a stream forwards.

[]

Other error

[]

Access was denied (no credentials provided or insufficient permissions)

Trait Implementations

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

[]

Formats the value using the given formatter.

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

[]

Returns a copy of the value. Read more

[]

Performs copy-assignment from source. Read more

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

impl<'a> PartialEq for ReadStreamError<'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<(ReadStreamResult, Option<Cow<'a, str>>)> for ReadStreamError<'a>
[src]

[]

Performs the conversion.