Struct taos_query::prelude::Code
source · [−]#[repr(transparent)]pub struct Code(_);Expand description
TDengine error code.
Implementations
sourceimpl Code
impl Code
pub const COLUMN_EXISTS: Code = Code(875)
pub const COLUMN_NOT_EXIST: Code = Code(876)
pub const TAG_ALREADY_EXIST: Code = Code(873)
pub const TAG_NOT_EXIST: Code = Code(874)
pub const MODIFIED_ALREADY: Code = Code(9803)
pub const INVALID_COLUMN_NAME: Code = Code(9730)
pub const TABLE_NOT_EXIST: Code = Code(9731)
pub const STABLE_NOT_EXIST: Code = Code(866)
pub const INVALID_ROW_BYTES: Code = Code(879)
pub const DUPLICATED_COLUMN_NAMES: Code = Code(9788)
pub const NO_COLUMN_CAN_BE_DROPPED: Code = Code(9809)
sourceimpl Code
impl Code
sourcepub const TscInvalidOperation: Code = Code(512)
pub const TscInvalidOperation: Code = Code(512)
TSC_INVALID_OPERATION: Invalid Operation
sourcepub const TscInvalidQhandle: Code = Code(513)
pub const TscInvalidQhandle: Code = Code(513)
TSC_INVALID_QHANDLE: Invalid qhandle
sourcepub const TscInvalidTimeStamp: Code = Code(514)
pub const TscInvalidTimeStamp: Code = Code(514)
TSC_INVALID_TIME_STAMP: Invalid combination of client/service time
sourcepub const TscInvalidValue: Code = Code(515)
pub const TscInvalidValue: Code = Code(515)
TSC_INVALID_VALUE: Invalid value in client
sourcepub const TscInvalidVersion: Code = Code(516)
pub const TscInvalidVersion: Code = Code(516)
TSC_INVALID_VERSION: Invalid client version
sourcepub const TscInvalidIe: Code = Code(517)
pub const TscInvalidIe: Code = Code(517)
TSC_INVALID_IE: Invalid client ie
sourcepub const TscInvalidFqdn: Code = Code(518)
pub const TscInvalidFqdn: Code = Code(518)
TSC_INVALID_FQDN: Invalid host name
sourcepub const TscInvalidUserLength: Code = Code(519)
pub const TscInvalidUserLength: Code = Code(519)
TSC_INVALID_USER_LENGTH: Invalid user name
sourcepub const TscInvalidPassLength: Code = Code(520)
pub const TscInvalidPassLength: Code = Code(520)
TSC_INVALID_PASS_LENGTH: Invalid password
sourcepub const TscInvalidDbLength: Code = Code(521)
pub const TscInvalidDbLength: Code = Code(521)
TSC_INVALID_DB_LENGTH: Database name too long
sourcepub const TscInvalidTableIdLength: Code = Code(522)
pub const TscInvalidTableIdLength: Code = Code(522)
TSC_INVALID_TABLE_ID_LENGTH: Table name too long
sourcepub const TscInvalidConnection: Code = Code(523)
pub const TscInvalidConnection: Code = Code(523)
TSC_INVALID_CONNECTION: Invalid connection
sourcepub const TscOutOfMemory: Code = Code(524)
pub const TscOutOfMemory: Code = Code(524)
TSC_OUT_OF_MEMORY: System out of memory
sourcepub const TscNoDiskspace: Code = Code(525)
pub const TscNoDiskspace: Code = Code(525)
TSC_NO_DISKSPACE: System out of disk space
sourcepub const TscQueryCacheErased: Code = Code(526)
pub const TscQueryCacheErased: Code = Code(526)
TSC_QUERY_CACHE_ERASED: Query cache erased
sourcepub const TscQueryCancelled: Code = Code(527)
pub const TscQueryCancelled: Code = Code(527)
TSC_QUERY_CANCELLED: Query terminated
sourcepub const TscSortedResTooMany: Code = Code(528)
pub const TscSortedResTooMany: Code = Code(528)
TSC_SORTED_RES_TOO_MANY: Result set too large to be sorted
sourcepub const TscAppError: Code = Code(529)
pub const TscAppError: Code = Code(529)
TSC_APP_ERROR: Application error
sourcepub const TscActionInProgress: Code = Code(530)
pub const TscActionInProgress: Code = Code(530)
TSC_ACTION_IN_PROGRESS: Action in progress
sourcepub const TscDisconnected: Code = Code(531)
pub const TscDisconnected: Code = Code(531)
TSC_DISCONNECTED: Disconnected from service
sourcepub const TscNoWriteAuth: Code = Code(532)
pub const TscNoWriteAuth: Code = Code(532)
TSC_NO_WRITE_AUTH: No write permission
sourcepub const TscConnKilled: Code = Code(533)
pub const TscConnKilled: Code = Code(533)
TSC_CONN_KILLED: Connection killed
sourcepub const TscSqlSyntaxError: Code = Code(534)
pub const TscSqlSyntaxError: Code = Code(534)
TSC_SQL_SYNTAX_ERROR: Syntax error in SQL
sourcepub const TscDbNotSelected: Code = Code(535)
pub const TscDbNotSelected: Code = Code(535)
TSC_DB_NOT_SELECTED: Database not specified or available
sourcepub const TscInvalidTableName: Code = Code(536)
pub const TscInvalidTableName: Code = Code(536)
TSC_INVALID_TABLE_NAME: Table does not exist
sourcepub const TscExceedSqlLimit: Code = Code(537)
pub const TscExceedSqlLimit: Code = Code(537)
TSC_EXCEED_SQL_LIMIT: SQL statement too long check maxSQLLength config
sourcepub const TscFileEmpty: Code = Code(538)
pub const TscFileEmpty: Code = Code(538)
TSC_FILE_EMPTY: File is empty
sourcepub const TscLineSyntaxError: Code = Code(539)
pub const TscLineSyntaxError: Code = Code(539)
TSC_LINE_SYNTAX_ERROR: Syntax error in Line
sourcepub const TscNoMetaCached: Code = Code(540)
pub const TscNoMetaCached: Code = Code(540)
TSC_NO_META_CACHED: No table meta cached
sourcepub const TscDupColNames: Code = Code(541)
pub const TscDupColNames: Code = Code(541)
TSC_DUP_COL_NAMES: duplicated column names
sourcepub const TscInvalidTagLength: Code = Code(542)
pub const TscInvalidTagLength: Code = Code(542)
TSC_INVALID_TAG_LENGTH: Invalid tag length
sourcepub const TscInvalidColumnLength: Code = Code(543)
pub const TscInvalidColumnLength: Code = Code(543)
TSC_INVALID_COLUMN_LENGTH: Invalid column length
sourcepub const TscDupTagNames: Code = Code(544)
pub const TscDupTagNames: Code = Code(544)
TSC_DUP_TAG_NAMES: duplicated tag names
sourcepub const TscInvalidJson: Code = Code(545)
pub const TscInvalidJson: Code = Code(545)
TSC_INVALID_JSON: Invalid JSON format
sourcepub const TscInvalidJsonType: Code = Code(546)
pub const TscInvalidJsonType: Code = Code(546)
TSC_INVALID_JSON_TYPE: Invalid JSON data type
sourcepub const TscInvalidJsonConfig: Code = Code(547)
pub const TscInvalidJsonConfig: Code = Code(547)
TSC_INVALID_JSON_CONFIG: Invalid JSON configuration
sourcepub const TscValueOutOfRange: Code = Code(548)
pub const TscValueOutOfRange: Code = Code(548)
TSC_VALUE_OUT_OF_RANGE: Value out of range
sourcepub const TscInvalidProtocolType: Code = Code(549)
pub const TscInvalidProtocolType: Code = Code(549)
TSC_INVALID_PROTOCOL_TYPE: Invalid line protocol type
sourcepub const TscInvalidPrecisionType: Code = Code(550)
pub const TscInvalidPrecisionType: Code = Code(550)
TSC_INVALID_PRECISION_TYPE: Invalid timestamp precision type
sourcepub const TscResTooMany: Code = Code(551)
pub const TscResTooMany: Code = Code(551)
TSC_RES_TOO_MANY: Result set too large to be output
sourcepub const TscInvalidSchemaVersion: Code = Code(552)
pub const TscInvalidSchemaVersion: Code = Code(552)
TSC_INVALID_SCHEMA_VERSION: invalid table schema version
sourcepub const MndInvalidTopic: Code = Code(914)
pub const MndInvalidTopic: Code = Code(914)
MND_INVALID_TOPIC: Invalid topic nam
sourcepub const MndInvalidTopicOption: Code = Code(915)
pub const MndInvalidTopicOption: Code = Code(915)
MND_INVALID_TOPIC_OPTION: Invalid topic optio
sourcepub const MndInvalidTopicPartitons: Code = Code(916)
pub const MndInvalidTopicPartitons: Code = Code(916)
MND_INVALID_TOPIC_PARTITONS: Invalid topic partitons num, valid range: [1, 1000
sourcepub const MndTopicAlreadyExist: Code = Code(917)
pub const MndTopicAlreadyExist: Code = Code(917)
MND_TOPIC_ALREADY_EXIST: Topic already exist
sourcepub const TdbInvalidTableId: Code = Code(1536)
pub const TdbInvalidTableId: Code = Code(1536)
TDB_INVALID_TABLE_ID: Invalid table ID
sourcepub const TdbInvalidTableType: Code = Code(1537)
pub const TdbInvalidTableType: Code = Code(1537)
TDB_INVALID_TABLE_TYPE: Invalid table type
sourcepub const TdbIvdTbSchemaVersion: Code = Code(1538)
pub const TdbIvdTbSchemaVersion: Code = Code(1538)
TDB_IVD_TB_SCHEMA_VERSION: Invalid table schema version
sourcepub const TdbTableAlreadyExist: Code = Code(1539)
pub const TdbTableAlreadyExist: Code = Code(1539)
TDB_TABLE_ALREADY_EXIST: Table already exists
sourcepub const TdbInvalidConfig: Code = Code(1540)
pub const TdbInvalidConfig: Code = Code(1540)
TDB_INVALID_CONFIG: Invalid configuration
sourcepub const TdbInitFailed: Code = Code(1541)
pub const TdbInitFailed: Code = Code(1541)
TDB_INIT_FAILED: Tsdb init failed
sourcepub const TdbNoDiskspace: Code = Code(1542)
pub const TdbNoDiskspace: Code = Code(1542)
TDB_NO_DISKSPACE: No diskspace for tsdb
sourcepub const TdbNoDiskPermissions: Code = Code(1543)
pub const TdbNoDiskPermissions: Code = Code(1543)
TDB_NO_DISK_PERMISSIONS: No permission for disk files
sourcepub const TdbFileCorrupted: Code = Code(1544)
pub const TdbFileCorrupted: Code = Code(1544)
TDB_FILE_CORRUPTED: Data file(s) corrupted
sourcepub const TdbOutOfMemory: Code = Code(1545)
pub const TdbOutOfMemory: Code = Code(1545)
TDB_OUT_OF_MEMORY: Out of memory
sourcepub const TdbTagVerOutOfDate: Code = Code(1546)
pub const TdbTagVerOutOfDate: Code = Code(1546)
TDB_TAG_VER_OUT_OF_DATE: Tag too old
sourcepub const TdbTimestampOutOfRange: Code = Code(1547)
pub const TdbTimestampOutOfRange: Code = Code(1547)
TDB_TIMESTAMP_OUT_OF_RANGE: Timestamp data out of range
sourcepub const TdbSubmitMsgMssedUp: Code = Code(1548)
pub const TdbSubmitMsgMssedUp: Code = Code(1548)
TDB_SUBMIT_MSG_MSSED_UP: Submit message is messed up
sourcepub const TdbInvalidAction: Code = Code(1549)
pub const TdbInvalidAction: Code = Code(1549)
TDB_INVALID_ACTION: Invalid operation
sourcepub const TdbInvalidCreateTbMsg: Code = Code(1550)
pub const TdbInvalidCreateTbMsg: Code = Code(1550)
TDB_INVALID_CREATE_TB_MSG: Invalid creation of table
sourcepub const TdbNoTableDataInMem: Code = Code(1551)
pub const TdbNoTableDataInMem: Code = Code(1551)
TDB_NO_TABLE_DATA_IN_MEM: No table data in memory skiplist
sourcepub const TdbFileAlreadyExists: Code = Code(1552)
pub const TdbFileAlreadyExists: Code = Code(1552)
TDB_FILE_ALREADY_EXISTS: File already exists
sourcepub const TdbTableReconfigure: Code = Code(1553)
pub const TdbTableReconfigure: Code = Code(1553)
TDB_TABLE_RECONFIGURE: Need to reconfigure table
sourcepub const TdbIvdCreateTableInfo: Code = Code(1554)
pub const TdbIvdCreateTableInfo: Code = Code(1554)
TDB_IVD_CREATE_TABLE_INFO: Invalid information to create table
sourcepub const TdbNoAvailDisk: Code = Code(1555)
pub const TdbNoAvailDisk: Code = Code(1555)
TDB_NO_AVAIL_DISK: No available disk
sourcepub const TdbMessedMsg: Code = Code(1556)
pub const TdbMessedMsg: Code = Code(1556)
TDB_MESSED_MSG: TSDB messed message
sourcepub const TdbIvldTagVal: Code = Code(1557)
pub const TdbIvldTagVal: Code = Code(1557)
TDB_IVLD_TAG_VAL: TSDB invalid tag value
sourcepub const TdbNoCacheLastRow: Code = Code(1558)
pub const TdbNoCacheLastRow: Code = Code(1558)
TDB_NO_CACHE_LAST_ROW: TSDB no cache last row data
sourcepub const TdbIncompleteDfileset: Code = Code(1559)
pub const TdbIncompleteDfileset: Code = Code(1559)
TDB_INCOMPLETE_DFILESET: TSDB incomplete DFileSet
sourcepub const QryInvalidQhandle: Code = Code(1792)
pub const QryInvalidQhandle: Code = Code(1792)
QRY_INVALID_QHANDLE: Invalid handle
sourcepub const QryInvalidMsg: Code = Code(1793)
pub const QryInvalidMsg: Code = Code(1793)
QRY_INVALID_MSG: Invalid message
sourcepub const QryNoDiskspace: Code = Code(1794)
pub const QryNoDiskspace: Code = Code(1794)
QRY_NO_DISKSPACE: No diskspace for query
sourcepub const QryOutOfMemory: Code = Code(1795)
pub const QryOutOfMemory: Code = Code(1795)
QRY_OUT_OF_MEMORY: System out of memory
sourcepub const QryAppError: Code = Code(1796)
pub const QryAppError: Code = Code(1796)
QRY_APP_ERROR: Unexpected generic error in query
sourcepub const QryDupJoinKey: Code = Code(1797)
pub const QryDupJoinKey: Code = Code(1797)
QRY_DUP_JOIN_KEY: Duplicated join key
sourcepub const QryExceedTagsLimit: Code = Code(1798)
pub const QryExceedTagsLimit: Code = Code(1798)
QRY_EXCEED_TAGS_LIMIT: Tag condition too many
sourcepub const QryNotReady: Code = Code(1799)
pub const QryNotReady: Code = Code(1799)
QRY_NOT_READY: Query not ready
sourcepub const QryTooManyTimewindow: Code = Code(1802)
pub const QryTooManyTimewindow: Code = Code(1802)
QRY_TOO_MANY_TIMEWINDOW: Too many time window in query
sourcepub const QryNotEnoughBuffer: Code = Code(1803)
pub const QryNotEnoughBuffer: Code = Code(1803)
QRY_NOT_ENOUGH_BUFFER: Query buffer limit has reached
sourcepub const QryInconsistan: Code = Code(1804)
pub const QryInconsistan: Code = Code(1804)
QRY_INCONSISTAN: File inconsistency in replica
sourcepub const QrySysError: Code = Code(1805)
pub const QrySysError: Code = Code(1805)
QRY_SYS_ERROR: System error
sourcepub const QryInvalidTimeCondition: Code = Code(1806)
pub const QryInvalidTimeCondition: Code = Code(1806)
QRY_INVALID_TIME_CONDITION: invalid time condition
sourcepub const QryInvalidSchemaVersion: Code = Code(1808)
pub const QryInvalidSchemaVersion: Code = Code(1808)
QRY_INVALID_SCHEMA_VERSION: invalid schema version
sourceimpl Code
impl Code
pub fn success(&self) -> bool
sourcepub fn tsc_invalid_operation(&self) -> bool
pub fn tsc_invalid_operation(&self) -> bool
TSC_INVALID_OPERATION: Invalid Operation
sourcepub fn tsc_invalid_qhandle(&self) -> bool
pub fn tsc_invalid_qhandle(&self) -> bool
TSC_INVALID_QHANDLE: Invalid qhandle
sourcepub 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
sourcepub fn tsc_invalid_value(&self) -> bool
pub fn tsc_invalid_value(&self) -> bool
TSC_INVALID_VALUE: Invalid value in client
sourcepub fn tsc_invalid_version(&self) -> bool
pub fn tsc_invalid_version(&self) -> bool
TSC_INVALID_VERSION: Invalid client version
sourcepub fn tsc_invalid_ie(&self) -> bool
pub fn tsc_invalid_ie(&self) -> bool
TSC_INVALID_IE: Invalid client ie
sourcepub fn tsc_invalid_fqdn(&self) -> bool
pub fn tsc_invalid_fqdn(&self) -> bool
TSC_INVALID_FQDN: Invalid host name
sourcepub fn tsc_invalid_user_length(&self) -> bool
pub fn tsc_invalid_user_length(&self) -> bool
TSC_INVALID_USER_LENGTH: Invalid user name
sourcepub fn tsc_invalid_pass_length(&self) -> bool
pub fn tsc_invalid_pass_length(&self) -> bool
TSC_INVALID_PASS_LENGTH: Invalid password
sourcepub fn tsc_invalid_db_length(&self) -> bool
pub fn tsc_invalid_db_length(&self) -> bool
TSC_INVALID_DB_LENGTH: Database name too long
sourcepub 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
sourcepub fn tsc_invalid_connection(&self) -> bool
pub fn tsc_invalid_connection(&self) -> bool
TSC_INVALID_CONNECTION: Invalid connection
sourcepub fn tsc_out_of_memory(&self) -> bool
pub fn tsc_out_of_memory(&self) -> bool
TSC_OUT_OF_MEMORY: System out of memory
sourcepub fn tsc_no_diskspace(&self) -> bool
pub fn tsc_no_diskspace(&self) -> bool
TSC_NO_DISKSPACE: System out of disk space
sourcepub fn tsc_query_cache_erased(&self) -> bool
pub fn tsc_query_cache_erased(&self) -> bool
TSC_QUERY_CACHE_ERASED: Query cache erased
sourcepub fn tsc_query_cancelled(&self) -> bool
pub fn tsc_query_cancelled(&self) -> bool
TSC_QUERY_CANCELLED: Query terminated
sourcepub 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
sourcepub fn tsc_app_error(&self) -> bool
pub fn tsc_app_error(&self) -> bool
TSC_APP_ERROR: Application error
sourcepub fn tsc_action_in_progress(&self) -> bool
pub fn tsc_action_in_progress(&self) -> bool
TSC_ACTION_IN_PROGRESS: Action in progress
sourcepub fn tsc_disconnected(&self) -> bool
pub fn tsc_disconnected(&self) -> bool
TSC_DISCONNECTED: Disconnected from service
sourcepub fn tsc_no_write_auth(&self) -> bool
pub fn tsc_no_write_auth(&self) -> bool
TSC_NO_WRITE_AUTH: No write permission
sourcepub fn tsc_conn_killed(&self) -> bool
pub fn tsc_conn_killed(&self) -> bool
TSC_CONN_KILLED: Connection killed
sourcepub fn tsc_sql_syntax_error(&self) -> bool
pub fn tsc_sql_syntax_error(&self) -> bool
TSC_SQL_SYNTAX_ERROR: Syntax error in SQL
sourcepub fn tsc_db_not_selected(&self) -> bool
pub fn tsc_db_not_selected(&self) -> bool
TSC_DB_NOT_SELECTED: Database not specified or available
sourcepub fn tsc_invalid_table_name(&self) -> bool
pub fn tsc_invalid_table_name(&self) -> bool
TSC_INVALID_TABLE_NAME: Table does not exist
sourcepub 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
sourcepub fn tsc_file_empty(&self) -> bool
pub fn tsc_file_empty(&self) -> bool
TSC_FILE_EMPTY: File is empty
sourcepub fn tsc_line_syntax_error(&self) -> bool
pub fn tsc_line_syntax_error(&self) -> bool
TSC_LINE_SYNTAX_ERROR: Syntax error in Line
sourcepub fn tsc_no_meta_cached(&self) -> bool
pub fn tsc_no_meta_cached(&self) -> bool
TSC_NO_META_CACHED: No table meta cached
sourcepub fn tsc_dup_col_names(&self) -> bool
pub fn tsc_dup_col_names(&self) -> bool
TSC_DUP_COL_NAMES: duplicated column names
sourcepub fn tsc_invalid_tag_length(&self) -> bool
pub fn tsc_invalid_tag_length(&self) -> bool
TSC_INVALID_TAG_LENGTH: Invalid tag length
sourcepub fn tsc_invalid_column_length(&self) -> bool
pub fn tsc_invalid_column_length(&self) -> bool
TSC_INVALID_COLUMN_LENGTH: Invalid column length
sourcepub fn tsc_dup_tag_names(&self) -> bool
pub fn tsc_dup_tag_names(&self) -> bool
TSC_DUP_TAG_NAMES: duplicated tag names
sourcepub fn tsc_invalid_json(&self) -> bool
pub fn tsc_invalid_json(&self) -> bool
TSC_INVALID_JSON: Invalid JSON format
sourcepub fn tsc_invalid_json_type(&self) -> bool
pub fn tsc_invalid_json_type(&self) -> bool
TSC_INVALID_JSON_TYPE: Invalid JSON data type
sourcepub fn tsc_invalid_json_config(&self) -> bool
pub fn tsc_invalid_json_config(&self) -> bool
TSC_INVALID_JSON_CONFIG: Invalid JSON configuration
sourcepub 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
sourcepub fn tsc_invalid_protocol_type(&self) -> bool
pub fn tsc_invalid_protocol_type(&self) -> bool
TSC_INVALID_PROTOCOL_TYPE: Invalid line protocol type
sourcepub fn tsc_invalid_precision_type(&self) -> bool
pub fn tsc_invalid_precision_type(&self) -> bool
TSC_INVALID_PRECISION_TYPE: Invalid timestamp precision type
sourcepub 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
sourcepub fn tsc_invalid_schema_version(&self) -> bool
pub fn tsc_invalid_schema_version(&self) -> bool
TSC_INVALID_SCHEMA_VERSION: invalid table schema version
sourcepub fn mnd_invalid_topic(&self) -> bool
pub fn mnd_invalid_topic(&self) -> bool
MND_INVALID_TOPIC: Invalid topic nam
sourcepub fn mnd_invalid_topic_option(&self) -> bool
pub fn mnd_invalid_topic_option(&self) -> bool
MND_INVALID_TOPIC_OPTION: Invalid topic optio
sourcepub 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
sourcepub fn mnd_topic_already_exist(&self) -> bool
pub fn mnd_topic_already_exist(&self) -> bool
MND_TOPIC_ALREADY_EXIST: Topic already exist
sourcepub fn tdb_invalid_table_id(&self) -> bool
pub fn tdb_invalid_table_id(&self) -> bool
TDB_INVALID_TABLE_ID: Invalid table ID
sourcepub fn tdb_invalid_table_type(&self) -> bool
pub fn tdb_invalid_table_type(&self) -> bool
TDB_INVALID_TABLE_TYPE: Invalid table type
sourcepub 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
sourcepub fn tdb_table_already_exist(&self) -> bool
pub fn tdb_table_already_exist(&self) -> bool
TDB_TABLE_ALREADY_EXIST: Table already exists
sourcepub fn tdb_invalid_config(&self) -> bool
pub fn tdb_invalid_config(&self) -> bool
TDB_INVALID_CONFIG: Invalid configuration
sourcepub fn tdb_init_failed(&self) -> bool
pub fn tdb_init_failed(&self) -> bool
TDB_INIT_FAILED: Tsdb init failed
sourcepub fn tdb_no_diskspace(&self) -> bool
pub fn tdb_no_diskspace(&self) -> bool
TDB_NO_DISKSPACE: No diskspace for tsdb
sourcepub fn tdb_no_disk_permissions(&self) -> bool
pub fn tdb_no_disk_permissions(&self) -> bool
TDB_NO_DISK_PERMISSIONS: No permission for disk files
sourcepub fn tdb_file_corrupted(&self) -> bool
pub fn tdb_file_corrupted(&self) -> bool
TDB_FILE_CORRUPTED: Data file(s) corrupted
sourcepub fn tdb_out_of_memory(&self) -> bool
pub fn tdb_out_of_memory(&self) -> bool
TDB_OUT_OF_MEMORY: Out of memory
sourcepub 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
sourcepub 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
sourcepub 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
sourcepub fn tdb_invalid_action(&self) -> bool
pub fn tdb_invalid_action(&self) -> bool
TDB_INVALID_ACTION: Invalid operation
sourcepub 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
sourcepub 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
sourcepub fn tdb_file_already_exists(&self) -> bool
pub fn tdb_file_already_exists(&self) -> bool
TDB_FILE_ALREADY_EXISTS: File already exists
sourcepub fn tdb_table_reconfigure(&self) -> bool
pub fn tdb_table_reconfigure(&self) -> bool
TDB_TABLE_RECONFIGURE: Need to reconfigure table
sourcepub 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
sourcepub fn tdb_no_avail_disk(&self) -> bool
pub fn tdb_no_avail_disk(&self) -> bool
TDB_NO_AVAIL_DISK: No available disk
sourcepub fn tdb_messed_msg(&self) -> bool
pub fn tdb_messed_msg(&self) -> bool
TDB_MESSED_MSG: TSDB messed message
sourcepub fn tdb_ivld_tag_val(&self) -> bool
pub fn tdb_ivld_tag_val(&self) -> bool
TDB_IVLD_TAG_VAL: TSDB invalid tag value
sourcepub 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
sourcepub fn tdb_incomplete_dfileset(&self) -> bool
pub fn tdb_incomplete_dfileset(&self) -> bool
TDB_INCOMPLETE_DFILESET: TSDB incomplete DFileSet
sourcepub fn qry_invalid_qhandle(&self) -> bool
pub fn qry_invalid_qhandle(&self) -> bool
QRY_INVALID_QHANDLE: Invalid handle
sourcepub fn qry_invalid_msg(&self) -> bool
pub fn qry_invalid_msg(&self) -> bool
QRY_INVALID_MSG: Invalid message
sourcepub fn qry_no_diskspace(&self) -> bool
pub fn qry_no_diskspace(&self) -> bool
QRY_NO_DISKSPACE: No diskspace for query
sourcepub fn qry_out_of_memory(&self) -> bool
pub fn qry_out_of_memory(&self) -> bool
QRY_OUT_OF_MEMORY: System out of memory
sourcepub fn qry_app_error(&self) -> bool
pub fn qry_app_error(&self) -> bool
QRY_APP_ERROR: Unexpected generic error in query
sourcepub 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
sourcepub fn qry_not_ready(&self) -> bool
pub fn qry_not_ready(&self) -> bool
QRY_NOT_READY: Query not ready
sourcepub fn qry_has_rsp(&self) -> bool
pub fn qry_has_rsp(&self) -> bool
QRY_HAS_RSP: Query should response
sourcepub fn qry_in_exec(&self) -> bool
pub fn qry_in_exec(&self) -> bool
QRY_IN_EXEC: Multiple retrieval of this query
sourcepub 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
sourcepub fn qry_not_enough_buffer(&self) -> bool
pub fn qry_not_enough_buffer(&self) -> bool
QRY_NOT_ENOUGH_BUFFER: Query buffer limit has reached
sourcepub fn qry_inconsistan(&self) -> bool
pub fn qry_inconsistan(&self) -> bool
QRY_INCONSISTAN: File inconsistency in replica
sourcepub fn qry_sys_error(&self) -> bool
pub fn qry_sys_error(&self) -> bool
QRY_SYS_ERROR: System error
sourcepub fn qry_invalid_time_condition(&self) -> bool
pub fn qry_invalid_time_condition(&self) -> bool
QRY_INVALID_TIME_CONDITION: invalid time condition
sourcepub fn qry_invalid_schema_version(&self) -> bool
pub fn qry_invalid_schema_version(&self) -> bool
QRY_INVALID_SCHEMA_VERSION: invalid schema version
sourceimpl Code
impl Code
pub fn as_error_str(&self) -> &'static str
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<Code, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<Code, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<Code> for Code
impl PartialEq<Code> for Code
sourceimpl Serialize for Code
impl Serialize for Code
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. 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