Enum eventstore::prelude::Error
source[−]pub enum Error {
Show 15 variants
ServerError(String),
NotLeaderException(Endpoint),
ConnectionClosed,
Grpc {
code: Code,
message: String,
},
GrpcConnectionError(GrpcConnectionError),
InternalParsingError(String),
AccessDenied,
ResourceAlreadyExists,
ResourceNotFound,
ResourceDeleted,
Unimplemented,
InternalClientError,
DeadlineExceeded,
InitializationError(String),
IllegalStateError(String),
}
Expand description
EventStoreDB command error.
Variants
ServerError(String)
Tuple Fields
0: String
NotLeaderException(Endpoint)
Tuple Fields
0: Endpoint
ConnectionClosed
Grpc
GrpcConnectionError(GrpcConnectionError)
Tuple Fields
InternalParsingError(String)
Tuple Fields
0: String
AccessDenied
ResourceAlreadyExists
ResourceNotFound
ResourceDeleted
Unimplemented
InternalClientError
DeadlineExceeded
InitializationError(String)
Tuple Fields
0: String
IllegalStateError(String)
Tuple Fields
0: String
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Error
impl UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more