pub enum ErrorKind {
Show 19 variants
AuthInvalidated,
ClientNotFound,
InvalidConnectionRequest,
InvalidConnectionRequestBaseCookie,
InvalidConnectionRequestLastMutationID,
InvalidConnectionRequestClientDeleted,
InvalidMessage,
InvalidPush,
MutationRateLimited,
MutationFailed,
Unauthorized,
VersionNotSupported,
SchemaVersionNotSupported,
Internal,
Rebalance,
Rehome,
ServerOverloaded,
PushFailed,
TransformFailed,
}Expand description
The kind of a protocol error (error-kind-enum.ts), in the order of
errorKindSchema, which valita’s messages list.
Variants§
AuthInvalidated
AuthInvalidated
ClientNotFound
ClientNotFound
InvalidConnectionRequest
InvalidConnectionRequest
InvalidConnectionRequestBaseCookie
InvalidConnectionRequestBaseCookie
InvalidConnectionRequestLastMutationID
InvalidConnectionRequestLastMutationID
InvalidConnectionRequestClientDeleted
InvalidConnectionRequestClientDeleted
InvalidMessage
InvalidMessage
InvalidPush
InvalidPush
MutationRateLimited
MutationRateLimited
MutationFailed
MutationFailed
Unauthorized
VersionNotSupported
VersionNotSupported
SchemaVersionNotSupported
SchemaVersionNotSupported
Internal
Internal
Rebalance
Rebalance
Rehome
Rehome
ServerOverloaded
ServerOverloaded
PushFailed
PushFailed
TransformFailed
TransformFailed
Implementations§
Trait Implementations§
impl Copy for ErrorKind
impl Eq for ErrorKind
impl StructuralPartialEq for ErrorKind
Auto Trait Implementations§
impl Forget for ErrorKind
impl Freeze for ErrorKind
impl Move for ErrorKind
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnsafeUnpin for ErrorKind
impl UnwindSafe for ErrorKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more