pub enum ServerErrorCode {
Show 42 variants
UNKNOWN = 0,
INTERNAL_ERROR = 1,
INVALID_PARAMETER = 2,
INVALID_HTTP_URL = 10,
INVALID_HTTP_HEADER = 11,
INVALID_HTTP_BODY = 12,
MISS_SSL_CERTIFICATES = 13,
USER_NOT_EXIST = 20,
USER_ALREADY_EXIST = 21,
ROLE_NOT_EXIST = 22,
ROLE_ALREADY_EXIST = 23,
AUTHENTICATION_FAILED = 24,
PERMISSION_DENIED = 25,
DB_NOT_EXIST = 50,
DB_ALREADY_EXIST = 51,
DB_TOO_MANY_TABLES = 52,
DB_NOT_EMPTY = 53,
INVALID_TABLE_SCHEMA = 60,
INVALID_PARTITION_PARAMETERS = 61,
TABLE_TOO_MANY_FIELDS = 62,
TABLE_TOO_MANY_FAMILIES = 63,
TABLE_TOO_MANY_PRIMARY_KEYS = 64,
TABLE_TOO_MANY_PARTITION_KEYS = 65,
TABLE_TOO_MANY_VECTOR_FIELDS = 66,
TABLE_TOO_MANY_INDEXES = 67,
DYNAMIC_SCHEMA_ERROR = 68,
TABLE_NOT_EXIST = 69,
TABLE_ALREADY_EXIST = 70,
INVALID_TABLE_STATE = 71,
TABLE_NOT_READY = 72,
ALIAS_NOT_EXIST = 73,
ALIAS_ALREADY_EXIST = 74,
FIELD_NOT_EXIST = 80,
FIELD_ALREADY_EXIST = 81,
VECTOR_FIELD_NOT_EXIST = 82,
INVALID_INDEX_SCHEMA = 90,
INDEX_NOT_EXIST = 91,
INDEX_ALREADY_EXIST = 92,
INDEX_DUPLICATED = 93,
INVALID_INDEX_STATE = 94,
PRIMARY_KEY_DUPLICATED = 100,
ROW_KEY_NOT_FOUND = 101,
}Variants§
UNKNOWN = 0
INTERNAL_ERROR = 1
INVALID_PARAMETER = 2
INVALID_HTTP_URL = 10
INVALID_HTTP_HEADER = 11
INVALID_HTTP_BODY = 12
MISS_SSL_CERTIFICATES = 13
USER_NOT_EXIST = 20
USER_ALREADY_EXIST = 21
ROLE_NOT_EXIST = 22
ROLE_ALREADY_EXIST = 23
AUTHENTICATION_FAILED = 24
PERMISSION_DENIED = 25
DB_NOT_EXIST = 50
DB_ALREADY_EXIST = 51
DB_TOO_MANY_TABLES = 52
DB_NOT_EMPTY = 53
INVALID_TABLE_SCHEMA = 60
INVALID_PARTITION_PARAMETERS = 61
TABLE_TOO_MANY_FIELDS = 62
TABLE_TOO_MANY_FAMILIES = 63
TABLE_TOO_MANY_PRIMARY_KEYS = 64
TABLE_TOO_MANY_PARTITION_KEYS = 65
TABLE_TOO_MANY_VECTOR_FIELDS = 66
TABLE_TOO_MANY_INDEXES = 67
DYNAMIC_SCHEMA_ERROR = 68
TABLE_NOT_EXIST = 69
TABLE_ALREADY_EXIST = 70
INVALID_TABLE_STATE = 71
TABLE_NOT_READY = 72
ALIAS_NOT_EXIST = 73
ALIAS_ALREADY_EXIST = 74
FIELD_NOT_EXIST = 80
FIELD_ALREADY_EXIST = 81
VECTOR_FIELD_NOT_EXIST = 82
INVALID_INDEX_SCHEMA = 90
INDEX_NOT_EXIST = 91
INDEX_ALREADY_EXIST = 92
INDEX_DUPLICATED = 93
INVALID_INDEX_STATE = 94
PRIMARY_KEY_DUPLICATED = 100
ROW_KEY_NOT_FOUND = 101
Trait Implementations§
Source§impl Clone for ServerErrorCode
impl Clone for ServerErrorCode
Source§fn clone(&self) -> ServerErrorCode
fn clone(&self) -> ServerErrorCode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ServerErrorCode
impl Debug for ServerErrorCode
Source§impl<'de> Deserialize<'de> for ServerErrorCode
impl<'de> Deserialize<'de> for ServerErrorCode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<i32> for ServerErrorCode
impl From<i32> for ServerErrorCode
Auto Trait Implementations§
impl Freeze for ServerErrorCode
impl RefUnwindSafe for ServerErrorCode
impl Send for ServerErrorCode
impl Sync for ServerErrorCode
impl Unpin for ServerErrorCode
impl UnwindSafe for ServerErrorCode
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