Struct taos_error::Code
source · [−]#[repr(transparent)]pub struct Code(_);Expand description
TDengine error code.
Implementations
impl Code
impl Code
pub const TscInvalidOperation: Code = _
pub const TscInvalidOperation: Code = _
TSC_INVALID_OPERATION: Invalid Operation
pub const TscInvalidQhandle: Code = _
pub const TscInvalidQhandle: Code = _
TSC_INVALID_QHANDLE: Invalid qhandle
pub const TscInvalidTimeStamp: Code = _
pub const TscInvalidTimeStamp: Code = _
TSC_INVALID_TIME_STAMP: Invalid combination of client/service time
pub const TscInvalidValue: Code = _
pub const TscInvalidValue: Code = _
TSC_INVALID_VALUE: Invalid value in client
pub const TscInvalidVersion: Code = _
pub const TscInvalidVersion: Code = _
TSC_INVALID_VERSION: Invalid client version
pub const TscInvalidIe: Code = _
pub const TscInvalidIe: Code = _
TSC_INVALID_IE: Invalid client ie
pub const TscInvalidFqdn: Code = _
pub const TscInvalidFqdn: Code = _
TSC_INVALID_FQDN: Invalid host name
pub const TscInvalidUserLength: Code = _
pub const TscInvalidUserLength: Code = _
TSC_INVALID_USER_LENGTH: Invalid user name
pub const TscInvalidPassLength: Code = _
pub const TscInvalidPassLength: Code = _
TSC_INVALID_PASS_LENGTH: Invalid password
pub const TscInvalidDbLength: Code = _
pub const TscInvalidDbLength: Code = _
TSC_INVALID_DB_LENGTH: Database name too long
pub const TscInvalidTableIdLength: Code = _
pub const TscInvalidTableIdLength: Code = _
TSC_INVALID_TABLE_ID_LENGTH: Table name too long
pub const TscInvalidConnection: Code = _
pub const TscInvalidConnection: Code = _
TSC_INVALID_CONNECTION: Invalid connection
pub const TscOutOfMemory: Code = _
pub const TscOutOfMemory: Code = _
TSC_OUT_OF_MEMORY: System out of memory
pub const TscNoDiskspace: Code = _
pub const TscNoDiskspace: Code = _
TSC_NO_DISKSPACE: System out of disk space
pub const TscQueryCacheErased: Code = _
pub const TscQueryCacheErased: Code = _
TSC_QUERY_CACHE_ERASED: Query cache erased
pub const TscQueryCancelled: Code = _
pub const TscQueryCancelled: Code = _
TSC_QUERY_CANCELLED: Query terminated
pub const TscSortedResTooMany: Code = _
pub const TscSortedResTooMany: Code = _
TSC_SORTED_RES_TOO_MANY: Result set too large to be sorted
pub const TscAppError: Code = _
pub const TscAppError: Code = _
TSC_APP_ERROR: Application error
pub const TscActionInProgress: Code = _
pub const TscActionInProgress: Code = _
TSC_ACTION_IN_PROGRESS: Action in progress
pub const TscDisconnected: Code = _
pub const TscDisconnected: Code = _
TSC_DISCONNECTED: Disconnected from service
pub const TscNoWriteAuth: Code = _
pub const TscNoWriteAuth: Code = _
TSC_NO_WRITE_AUTH: No write permission
pub const TscConnKilled: Code = _
pub const TscConnKilled: Code = _
TSC_CONN_KILLED: Connection killed
pub const TscSqlSyntaxError: Code = _
pub const TscSqlSyntaxError: Code = _
TSC_SQL_SYNTAX_ERROR: Syntax error in SQL
pub const TscDbNotSelected: Code = _
pub const TscDbNotSelected: Code = _
TSC_DB_NOT_SELECTED: Database not specified or available
pub const TscInvalidTableName: Code = _
pub const TscInvalidTableName: Code = _
TSC_INVALID_TABLE_NAME: Table does not exist
pub const TscExceedSqlLimit: Code = _
pub const TscExceedSqlLimit: Code = _
TSC_EXCEED_SQL_LIMIT: SQL statement too long check maxSQLLength config
pub const TscFileEmpty: Code = _
pub const TscFileEmpty: Code = _
TSC_FILE_EMPTY: File is empty
pub const TscLineSyntaxError: Code = _
pub const TscLineSyntaxError: Code = _
TSC_LINE_SYNTAX_ERROR: Syntax error in Line
pub const TscNoMetaCached: Code = _
pub const TscNoMetaCached: Code = _
TSC_NO_META_CACHED: No table meta cached
pub const TscDupColNames: Code = _
pub const TscDupColNames: Code = _
TSC_DUP_COL_NAMES: duplicated column names
pub const TscInvalidTagLength: Code = _
pub const TscInvalidTagLength: Code = _
TSC_INVALID_TAG_LENGTH: Invalid tag length
pub const TscInvalidColumnLength: Code = _
pub const TscInvalidColumnLength: Code = _
TSC_INVALID_COLUMN_LENGTH: Invalid column length
pub const TscDupTagNames: Code = _
pub const TscDupTagNames: Code = _
TSC_DUP_TAG_NAMES: duplicated tag names
pub const TscInvalidJson: Code = _
pub const TscInvalidJson: Code = _
TSC_INVALID_JSON: Invalid JSON format
pub const TscInvalidJsonType: Code = _
pub const TscInvalidJsonType: Code = _
TSC_INVALID_JSON_TYPE: Invalid JSON data type
pub const TscInvalidJsonConfig: Code = _
pub const TscInvalidJsonConfig: Code = _
TSC_INVALID_JSON_CONFIG: Invalid JSON configuration
pub const TscValueOutOfRange: Code = _
pub const TscValueOutOfRange: Code = _
TSC_VALUE_OUT_OF_RANGE: Value out of range
pub const TscInvalidProtocolType: Code = _
pub const TscInvalidProtocolType: Code = _
TSC_INVALID_PROTOCOL_TYPE: Invalid line protocol type
pub const TscInvalidPrecisionType: Code = _
pub const TscInvalidPrecisionType: Code = _
TSC_INVALID_PRECISION_TYPE: Invalid timestamp precision type
pub const TscResTooMany: Code = _
pub const TscResTooMany: Code = _
TSC_RES_TOO_MANY: Result set too large to be output
pub const TscInvalidSchemaVersion: Code = _
pub const TscInvalidSchemaVersion: Code = _
TSC_INVALID_SCHEMA_VERSION: invalid table schema version
pub const MndInvalidTopic: Code = _
pub const MndInvalidTopic: Code = _
MND_INVALID_TOPIC: Invalid topic nam
pub const MndInvalidTopicOption: Code = _
pub const MndInvalidTopicOption: Code = _
MND_INVALID_TOPIC_OPTION: Invalid topic optio
pub const MndInvalidTopicPartitons: Code = _
pub const MndInvalidTopicPartitons: Code = _
MND_INVALID_TOPIC_PARTITONS: Invalid topic partitons num, valid range: [1, 1000
pub const MndTopicAlreadyExist: Code = _
pub const MndTopicAlreadyExist: Code = _
MND_TOPIC_ALREADY_EXIST: Topic already exist
pub const TdbInvalidTableId: Code = _
pub const TdbInvalidTableId: Code = _
TDB_INVALID_TABLE_ID: Invalid table ID
pub const TdbInvalidTableType: Code = _
pub const TdbInvalidTableType: Code = _
TDB_INVALID_TABLE_TYPE: Invalid table type
pub const TdbIvdTbSchemaVersion: Code = _
pub const TdbIvdTbSchemaVersion: Code = _
TDB_IVD_TB_SCHEMA_VERSION: Invalid table schema version
pub const TdbTableAlreadyExist: Code = _
pub const TdbTableAlreadyExist: Code = _
TDB_TABLE_ALREADY_EXIST: Table already exists
pub const TdbInvalidConfig: Code = _
pub const TdbInvalidConfig: Code = _
TDB_INVALID_CONFIG: Invalid configuration
pub const TdbInitFailed: Code = _
pub const TdbInitFailed: Code = _
TDB_INIT_FAILED: Tsdb init failed
pub const TdbNoDiskspace: Code = _
pub const TdbNoDiskspace: Code = _
TDB_NO_DISKSPACE: No diskspace for tsdb
pub const TdbNoDiskPermissions: Code = _
pub const TdbNoDiskPermissions: Code = _
TDB_NO_DISK_PERMISSIONS: No permission for disk files
pub const TdbFileCorrupted: Code = _
pub const TdbFileCorrupted: Code = _
TDB_FILE_CORRUPTED: Data file(s) corrupted
pub const TdbOutOfMemory: Code = _
pub const TdbOutOfMemory: Code = _
TDB_OUT_OF_MEMORY: Out of memory
pub const TdbTagVerOutOfDate: Code = _
pub const TdbTagVerOutOfDate: Code = _
TDB_TAG_VER_OUT_OF_DATE: Tag too old
pub const TdbTimestampOutOfRange: Code = _
pub const TdbTimestampOutOfRange: Code = _
TDB_TIMESTAMP_OUT_OF_RANGE: Timestamp data out of range
pub const TdbSubmitMsgMssedUp: Code = _
pub const TdbSubmitMsgMssedUp: Code = _
TDB_SUBMIT_MSG_MSSED_UP: Submit message is messed up
pub const TdbInvalidAction: Code = _
pub const TdbInvalidAction: Code = _
TDB_INVALID_ACTION: Invalid operation
pub const TdbInvalidCreateTbMsg: Code = _
pub const TdbInvalidCreateTbMsg: Code = _
TDB_INVALID_CREATE_TB_MSG: Invalid creation of table
pub const TdbNoTableDataInMem: Code = _
pub const TdbNoTableDataInMem: Code = _
TDB_NO_TABLE_DATA_IN_MEM: No table data in memory skiplist
pub const TdbFileAlreadyExists: Code = _
pub const TdbFileAlreadyExists: Code = _
TDB_FILE_ALREADY_EXISTS: File already exists
pub const TdbTableReconfigure: Code = _
pub const TdbTableReconfigure: Code = _
TDB_TABLE_RECONFIGURE: Need to reconfigure table
pub const TdbIvdCreateTableInfo: Code = _
pub const TdbIvdCreateTableInfo: Code = _
TDB_IVD_CREATE_TABLE_INFO: Invalid information to create table
pub const TdbNoAvailDisk: Code = _
pub const TdbNoAvailDisk: Code = _
TDB_NO_AVAIL_DISK: No available disk
pub const TdbMessedMsg: Code = _
pub const TdbMessedMsg: Code = _
TDB_MESSED_MSG: TSDB messed message
pub const TdbIvldTagVal: Code = _
pub const TdbIvldTagVal: Code = _
TDB_IVLD_TAG_VAL: TSDB invalid tag value
pub const TdbNoCacheLastRow: Code = _
pub const TdbNoCacheLastRow: Code = _
TDB_NO_CACHE_LAST_ROW: TSDB no cache last row data
pub const TdbIncompleteDfileset: Code = _
pub const TdbIncompleteDfileset: Code = _
TDB_INCOMPLETE_DFILESET: TSDB incomplete DFileSet
pub const QryInvalidQhandle: Code = _
pub const QryInvalidQhandle: Code = _
QRY_INVALID_QHANDLE: Invalid handle
pub const QryInvalidMsg: Code = _
pub const QryInvalidMsg: Code = _
QRY_INVALID_MSG: Invalid message
pub const QryNoDiskspace: Code = _
pub const QryNoDiskspace: Code = _
QRY_NO_DISKSPACE: No diskspace for query
pub const QryOutOfMemory: Code = _
pub const QryOutOfMemory: Code = _
QRY_OUT_OF_MEMORY: System out of memory
pub const QryAppError: Code = _
pub const QryAppError: Code = _
QRY_APP_ERROR: Unexpected generic error in query
pub const QryDupJoinKey: Code = _
pub const QryDupJoinKey: Code = _
QRY_DUP_JOIN_KEY: Duplicated join key
pub const QryExceedTagsLimit: Code = _
pub const QryExceedTagsLimit: Code = _
QRY_EXCEED_TAGS_LIMIT: Tag condition too many
pub const QryNotReady: Code = _
pub const QryNotReady: Code = _
QRY_NOT_READY: Query not ready
pub const QryTooManyTimewindow: Code = _
pub const QryTooManyTimewindow: Code = _
QRY_TOO_MANY_TIMEWINDOW: Too many time window in query
pub const QryNotEnoughBuffer: Code = _
pub const QryNotEnoughBuffer: Code = _
QRY_NOT_ENOUGH_BUFFER: Query buffer limit has reached
pub const QryInconsistan: Code = _
pub const QryInconsistan: Code = _
QRY_INCONSISTAN: File inconsistency in replica
pub const QrySysError: Code = _
pub const QrySysError: Code = _
QRY_SYS_ERROR: System error
pub const QryInvalidTimeCondition: Code = _
pub const QryInvalidTimeCondition: Code = _
QRY_INVALID_TIME_CONDITION: invalid time condition
pub const QryInvalidSchemaVersion: Code = _
pub const QryInvalidSchemaVersion: Code = _
QRY_INVALID_SCHEMA_VERSION: invalid schema version
impl Code
impl Code
pub fn success(&self) -> bool
pub fn tsc_invalid_operation(&self) -> bool
pub fn tsc_invalid_operation(&self) -> bool
TSC_INVALID_OPERATION: Invalid Operation
pub fn tsc_invalid_qhandle(&self) -> bool
pub fn tsc_invalid_qhandle(&self) -> bool
TSC_INVALID_QHANDLE: Invalid qhandle
pub fn tsc_invalid_time_stamp(&self) -> bool
pub fn tsc_invalid_time_stamp(&self) -> bool
TSC_INVALID_TIME_STAMP: Invalid combination of client/service time
pub fn tsc_invalid_value(&self) -> bool
pub fn tsc_invalid_value(&self) -> bool
TSC_INVALID_VALUE: Invalid value in client
pub fn tsc_invalid_version(&self) -> bool
pub fn tsc_invalid_version(&self) -> bool
TSC_INVALID_VERSION: Invalid client version
pub fn tsc_invalid_ie(&self) -> bool
pub fn tsc_invalid_ie(&self) -> bool
TSC_INVALID_IE: Invalid client ie
pub fn tsc_invalid_fqdn(&self) -> bool
pub fn tsc_invalid_fqdn(&self) -> bool
TSC_INVALID_FQDN: Invalid host name
pub fn tsc_invalid_user_length(&self) -> bool
pub fn tsc_invalid_user_length(&self) -> bool
TSC_INVALID_USER_LENGTH: Invalid user name
pub fn tsc_invalid_pass_length(&self) -> bool
pub fn tsc_invalid_pass_length(&self) -> bool
TSC_INVALID_PASS_LENGTH: Invalid password
pub fn tsc_invalid_db_length(&self) -> bool
pub fn tsc_invalid_db_length(&self) -> bool
TSC_INVALID_DB_LENGTH: Database name too long
pub fn tsc_invalid_table_id_length(&self) -> bool
pub fn tsc_invalid_table_id_length(&self) -> bool
TSC_INVALID_TABLE_ID_LENGTH: Table name too long
pub fn tsc_invalid_connection(&self) -> bool
pub fn tsc_invalid_connection(&self) -> bool
TSC_INVALID_CONNECTION: Invalid connection
pub fn tsc_out_of_memory(&self) -> bool
pub fn tsc_out_of_memory(&self) -> bool
TSC_OUT_OF_MEMORY: System out of memory
pub fn tsc_no_diskspace(&self) -> bool
pub fn tsc_no_diskspace(&self) -> bool
TSC_NO_DISKSPACE: System out of disk space
pub fn tsc_query_cache_erased(&self) -> bool
pub fn tsc_query_cache_erased(&self) -> bool
TSC_QUERY_CACHE_ERASED: Query cache erased
pub fn tsc_query_cancelled(&self) -> bool
pub fn tsc_query_cancelled(&self) -> bool
TSC_QUERY_CANCELLED: Query terminated
pub fn tsc_sorted_res_too_many(&self) -> bool
pub fn tsc_sorted_res_too_many(&self) -> bool
TSC_SORTED_RES_TOO_MANY: Result set too large to be sorted
pub fn tsc_app_error(&self) -> bool
pub fn tsc_app_error(&self) -> bool
TSC_APP_ERROR: Application error
pub fn tsc_action_in_progress(&self) -> bool
pub fn tsc_action_in_progress(&self) -> bool
TSC_ACTION_IN_PROGRESS: Action in progress
pub fn tsc_disconnected(&self) -> bool
pub fn tsc_disconnected(&self) -> bool
TSC_DISCONNECTED: Disconnected from service
pub fn tsc_no_write_auth(&self) -> bool
pub fn tsc_no_write_auth(&self) -> bool
TSC_NO_WRITE_AUTH: No write permission
pub fn tsc_conn_killed(&self) -> bool
pub fn tsc_conn_killed(&self) -> bool
TSC_CONN_KILLED: Connection killed
pub fn tsc_sql_syntax_error(&self) -> bool
pub fn tsc_sql_syntax_error(&self) -> bool
TSC_SQL_SYNTAX_ERROR: Syntax error in SQL
pub fn tsc_db_not_selected(&self) -> bool
pub fn tsc_db_not_selected(&self) -> bool
TSC_DB_NOT_SELECTED: Database not specified or available
pub fn tsc_invalid_table_name(&self) -> bool
pub fn tsc_invalid_table_name(&self) -> bool
TSC_INVALID_TABLE_NAME: Table does not exist
pub fn tsc_exceed_sql_limit(&self) -> bool
pub fn tsc_exceed_sql_limit(&self) -> bool
TSC_EXCEED_SQL_LIMIT: SQL statement too long check maxSQLLength config
pub fn tsc_file_empty(&self) -> bool
pub fn tsc_file_empty(&self) -> bool
TSC_FILE_EMPTY: File is empty
pub fn tsc_line_syntax_error(&self) -> bool
pub fn tsc_line_syntax_error(&self) -> bool
TSC_LINE_SYNTAX_ERROR: Syntax error in Line
pub fn tsc_no_meta_cached(&self) -> bool
pub fn tsc_no_meta_cached(&self) -> bool
TSC_NO_META_CACHED: No table meta cached
pub fn tsc_dup_col_names(&self) -> bool
pub fn tsc_dup_col_names(&self) -> bool
TSC_DUP_COL_NAMES: duplicated column names
pub fn tsc_invalid_tag_length(&self) -> bool
pub fn tsc_invalid_tag_length(&self) -> bool
TSC_INVALID_TAG_LENGTH: Invalid tag length
pub fn tsc_invalid_column_length(&self) -> bool
pub fn tsc_invalid_column_length(&self) -> bool
TSC_INVALID_COLUMN_LENGTH: Invalid column length
pub fn tsc_dup_tag_names(&self) -> bool
pub fn tsc_dup_tag_names(&self) -> bool
TSC_DUP_TAG_NAMES: duplicated tag names
pub fn tsc_invalid_json(&self) -> bool
pub fn tsc_invalid_json(&self) -> bool
TSC_INVALID_JSON: Invalid JSON format
pub fn tsc_invalid_json_type(&self) -> bool
pub fn tsc_invalid_json_type(&self) -> bool
TSC_INVALID_JSON_TYPE: Invalid JSON data type
pub fn tsc_invalid_json_config(&self) -> bool
pub fn tsc_invalid_json_config(&self) -> bool
TSC_INVALID_JSON_CONFIG: Invalid JSON configuration
pub fn tsc_value_out_of_range(&self) -> bool
pub fn tsc_value_out_of_range(&self) -> bool
TSC_VALUE_OUT_OF_RANGE: Value out of range
pub fn tsc_invalid_protocol_type(&self) -> bool
pub fn tsc_invalid_protocol_type(&self) -> bool
TSC_INVALID_PROTOCOL_TYPE: Invalid line protocol type
pub fn tsc_invalid_precision_type(&self) -> bool
pub fn tsc_invalid_precision_type(&self) -> bool
TSC_INVALID_PRECISION_TYPE: Invalid timestamp precision type
pub fn tsc_res_too_many(&self) -> bool
pub fn tsc_res_too_many(&self) -> bool
TSC_RES_TOO_MANY: Result set too large to be output
pub fn tsc_invalid_schema_version(&self) -> bool
pub fn tsc_invalid_schema_version(&self) -> bool
TSC_INVALID_SCHEMA_VERSION: invalid table schema version
pub fn mnd_invalid_topic(&self) -> bool
pub fn mnd_invalid_topic(&self) -> bool
MND_INVALID_TOPIC: Invalid topic nam
pub fn mnd_invalid_topic_option(&self) -> bool
pub fn mnd_invalid_topic_option(&self) -> bool
MND_INVALID_TOPIC_OPTION: Invalid topic optio
pub fn mnd_invalid_topic_partitons(&self) -> bool
pub fn mnd_invalid_topic_partitons(&self) -> bool
MND_INVALID_TOPIC_PARTITONS: Invalid topic partitons num, valid range: [1, 1000
pub fn mnd_topic_already_exist(&self) -> bool
pub fn mnd_topic_already_exist(&self) -> bool
MND_TOPIC_ALREADY_EXIST: Topic already exist
pub fn tdb_invalid_table_id(&self) -> bool
pub fn tdb_invalid_table_id(&self) -> bool
TDB_INVALID_TABLE_ID: Invalid table ID
pub fn tdb_invalid_table_type(&self) -> bool
pub fn tdb_invalid_table_type(&self) -> bool
TDB_INVALID_TABLE_TYPE: Invalid table type
pub fn tdb_ivd_tb_schema_version(&self) -> bool
pub fn tdb_ivd_tb_schema_version(&self) -> bool
TDB_IVD_TB_SCHEMA_VERSION: Invalid table schema version
pub fn tdb_table_already_exist(&self) -> bool
pub fn tdb_table_already_exist(&self) -> bool
TDB_TABLE_ALREADY_EXIST: Table already exists
pub fn tdb_invalid_config(&self) -> bool
pub fn tdb_invalid_config(&self) -> bool
TDB_INVALID_CONFIG: Invalid configuration
pub fn tdb_init_failed(&self) -> bool
pub fn tdb_init_failed(&self) -> bool
TDB_INIT_FAILED: Tsdb init failed
pub fn tdb_no_diskspace(&self) -> bool
pub fn tdb_no_diskspace(&self) -> bool
TDB_NO_DISKSPACE: No diskspace for tsdb
pub fn tdb_no_disk_permissions(&self) -> bool
pub fn tdb_no_disk_permissions(&self) -> bool
TDB_NO_DISK_PERMISSIONS: No permission for disk files
pub fn tdb_file_corrupted(&self) -> bool
pub fn tdb_file_corrupted(&self) -> bool
TDB_FILE_CORRUPTED: Data file(s) corrupted
pub fn tdb_out_of_memory(&self) -> bool
pub fn tdb_out_of_memory(&self) -> bool
TDB_OUT_OF_MEMORY: Out of memory
pub fn tdb_tag_ver_out_of_date(&self) -> bool
pub fn tdb_tag_ver_out_of_date(&self) -> bool
TDB_TAG_VER_OUT_OF_DATE: Tag too old
pub fn tdb_timestamp_out_of_range(&self) -> bool
pub fn tdb_timestamp_out_of_range(&self) -> bool
TDB_TIMESTAMP_OUT_OF_RANGE: Timestamp data out of range
pub fn tdb_submit_msg_mssed_up(&self) -> bool
pub fn tdb_submit_msg_mssed_up(&self) -> bool
TDB_SUBMIT_MSG_MSSED_UP: Submit message is messed up
pub fn tdb_invalid_action(&self) -> bool
pub fn tdb_invalid_action(&self) -> bool
TDB_INVALID_ACTION: Invalid operation
pub fn tdb_invalid_create_tb_msg(&self) -> bool
pub fn tdb_invalid_create_tb_msg(&self) -> bool
TDB_INVALID_CREATE_TB_MSG: Invalid creation of table
pub fn tdb_no_table_data_in_mem(&self) -> bool
pub fn tdb_no_table_data_in_mem(&self) -> bool
TDB_NO_TABLE_DATA_IN_MEM: No table data in memory skiplist
pub fn tdb_file_already_exists(&self) -> bool
pub fn tdb_file_already_exists(&self) -> bool
TDB_FILE_ALREADY_EXISTS: File already exists
pub fn tdb_table_reconfigure(&self) -> bool
pub fn tdb_table_reconfigure(&self) -> bool
TDB_TABLE_RECONFIGURE: Need to reconfigure table
pub fn tdb_ivd_create_table_info(&self) -> bool
pub fn tdb_ivd_create_table_info(&self) -> bool
TDB_IVD_CREATE_TABLE_INFO: Invalid information to create table
pub fn tdb_no_avail_disk(&self) -> bool
pub fn tdb_no_avail_disk(&self) -> bool
TDB_NO_AVAIL_DISK: No available disk
pub fn tdb_messed_msg(&self) -> bool
pub fn tdb_messed_msg(&self) -> bool
TDB_MESSED_MSG: TSDB messed message
pub fn tdb_ivld_tag_val(&self) -> bool
pub fn tdb_ivld_tag_val(&self) -> bool
TDB_IVLD_TAG_VAL: TSDB invalid tag value
pub fn tdb_no_cache_last_row(&self) -> bool
pub fn tdb_no_cache_last_row(&self) -> bool
TDB_NO_CACHE_LAST_ROW: TSDB no cache last row data
pub fn tdb_incomplete_dfileset(&self) -> bool
pub fn tdb_incomplete_dfileset(&self) -> bool
TDB_INCOMPLETE_DFILESET: TSDB incomplete DFileSet
pub fn qry_invalid_qhandle(&self) -> bool
pub fn qry_invalid_qhandle(&self) -> bool
QRY_INVALID_QHANDLE: Invalid handle
pub fn qry_invalid_msg(&self) -> bool
pub fn qry_invalid_msg(&self) -> bool
QRY_INVALID_MSG: Invalid message
pub fn qry_no_diskspace(&self) -> bool
pub fn qry_no_diskspace(&self) -> bool
QRY_NO_DISKSPACE: No diskspace for query
pub fn qry_out_of_memory(&self) -> bool
pub fn qry_out_of_memory(&self) -> bool
QRY_OUT_OF_MEMORY: System out of memory
pub fn qry_app_error(&self) -> bool
pub fn qry_app_error(&self) -> bool
QRY_APP_ERROR: Unexpected generic error in query
pub fn qry_dup_join_key(&self) -> bool
pub fn qry_dup_join_key(&self) -> bool
QRY_DUP_JOIN_KEY: Duplicated join key
QRY_EXCEED_TAGS_LIMIT: Tag condition too many
pub fn qry_not_ready(&self) -> bool
pub fn qry_not_ready(&self) -> bool
QRY_NOT_READY: Query not ready
pub fn qry_has_rsp(&self) -> bool
pub fn qry_has_rsp(&self) -> bool
QRY_HAS_RSP: Query should response
pub fn qry_in_exec(&self) -> bool
pub fn qry_in_exec(&self) -> bool
QRY_IN_EXEC: Multiple retrieval of this query
pub fn qry_too_many_timewindow(&self) -> bool
pub fn qry_too_many_timewindow(&self) -> bool
QRY_TOO_MANY_TIMEWINDOW: Too many time window in query
pub fn qry_not_enough_buffer(&self) -> bool
pub fn qry_not_enough_buffer(&self) -> bool
QRY_NOT_ENOUGH_BUFFER: Query buffer limit has reached
pub fn qry_inconsistan(&self) -> bool
pub fn qry_inconsistan(&self) -> bool
QRY_INCONSISTAN: File inconsistency in replica
pub fn qry_sys_error(&self) -> bool
pub fn qry_sys_error(&self) -> bool
QRY_SYS_ERROR: System error
pub fn qry_invalid_time_condition(&self) -> bool
pub fn qry_invalid_time_condition(&self) -> bool
QRY_INVALID_TIME_CONDITION: invalid time condition
pub fn qry_invalid_schema_version(&self) -> bool
pub fn qry_invalid_schema_version(&self) -> bool
QRY_INVALID_SCHEMA_VERSION: invalid schema version
impl Code
impl Code
pub fn as_error_str(&self) -> &'static str
sourceimpl Code
impl Code
pub const COLUMN_EXISTS: Code = _
pub const COLUMN_NOT_EXIST: Code = _
pub const TAG_ALREADY_EXIST: Code = _
pub const TAG_NOT_EXIST: Code = _
pub const MODIFIED_ALREADY: Code = _
pub const INVALID_COLUMN_NAME: Code = _
pub const TABLE_NOT_EXIST: Code = _
pub const STABLE_NOT_EXIST: Code = _
pub const INVALID_ROW_BYTES: Code = _
pub const DUPLICATED_COLUMN_NAMES: Code = _
pub const NO_COLUMN_CAN_BE_DROPPED: Code = _
Methods from Deref<Target = i32>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Code
impl<'de> Deserialize<'de> for Code
sourcefn 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
impl Copy for Code
impl Eq for Code
impl StructuralEq for Code
impl StructuralPartialEq for Code
Auto Trait Implementations
impl RefUnwindSafe for Code
impl Send for Code
impl Sync for Code
impl Unpin for Code
impl UnwindSafe for Code
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more