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
NotFound
Event of requested number was not found (scavenged or never existed)
NoStream
No such stream
StreamDeleted
Stream has been deleted
Error(Option<Cow<'a, str>>)
Other error
AccessDenied
Access was denied (no credentials provided or insufficient permissions)
Trait Implementations
impl<'a> Debug for ReadEventError<'a>
[src]
impl<'a> Clone for ReadEventError<'a>
[src]
fn clone(&self) -> ReadEventError<'a>
[−]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[−]
Performs copy-assignment from source
. Read more
impl<'a> Eq for ReadEventError<'a>
[src]
impl<'a> PartialEq for ReadEventError<'a>
[src]
fn eq(&self, __arg_0: &ReadEventError<'a>) -> bool
[−]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ReadEventError<'a>) -> bool
[−]
This method tests for !=
.