Enum cassandra_cpp_sys::CassError

source ·
#[repr(u32)]
pub enum CassError {
Show 62 variants CASS_OK = 0, CASS_ERROR_LIB_BAD_PARAMS = 16_777_217, CASS_ERROR_LIB_NO_STREAMS = 16_777_218, CASS_ERROR_LIB_UNABLE_TO_INIT = 16_777_219, CASS_ERROR_LIB_MESSAGE_ENCODE = 16_777_220, CASS_ERROR_LIB_HOST_RESOLUTION = 16_777_221, CASS_ERROR_LIB_UNEXPECTED_RESPONSE = 16_777_222, CASS_ERROR_LIB_REQUEST_QUEUE_FULL = 16_777_223, CASS_ERROR_LIB_NO_AVAILABLE_IO_THREAD = 16_777_224, CASS_ERROR_LIB_WRITE_ERROR = 16_777_225, CASS_ERROR_LIB_NO_HOSTS_AVAILABLE = 16_777_226, CASS_ERROR_LIB_INDEX_OUT_OF_BOUNDS = 16_777_227, CASS_ERROR_LIB_INVALID_ITEM_COUNT = 16_777_228, CASS_ERROR_LIB_INVALID_VALUE_TYPE = 16_777_229, CASS_ERROR_LIB_REQUEST_TIMED_OUT = 16_777_230, CASS_ERROR_LIB_UNABLE_TO_SET_KEYSPACE = 16_777_231, CASS_ERROR_LIB_CALLBACK_ALREADY_SET = 16_777_232, CASS_ERROR_LIB_INVALID_STATEMENT_TYPE = 16_777_233, CASS_ERROR_LIB_NAME_DOES_NOT_EXIST = 16_777_234, CASS_ERROR_LIB_UNABLE_TO_DETERMINE_PROTOCOL = 16_777_235, CASS_ERROR_LIB_NULL_VALUE = 16_777_236, CASS_ERROR_LIB_NOT_IMPLEMENTED = 16_777_237, CASS_ERROR_LIB_UNABLE_TO_CONNECT = 16_777_238, CASS_ERROR_LIB_UNABLE_TO_CLOSE = 16_777_239, CASS_ERROR_LIB_NO_PAGING_STATE = 16_777_240, CASS_ERROR_LIB_PARAMETER_UNSET = 16_777_241, CASS_ERROR_LIB_INVALID_ERROR_RESULT_TYPE = 16_777_242, CASS_ERROR_LIB_INVALID_FUTURE_TYPE = 16_777_243, CASS_ERROR_LIB_INTERNAL_ERROR = 16_777_244, CASS_ERROR_LIB_INVALID_CUSTOM_TYPE = 16_777_245, CASS_ERROR_LIB_INVALID_DATA = 16_777_246, CASS_ERROR_LIB_NOT_ENOUGH_DATA = 16_777_247, CASS_ERROR_LIB_INVALID_STATE = 16_777_248, CASS_ERROR_LIB_NO_CUSTOM_PAYLOAD = 16_777_249, CASS_ERROR_LIB_EXECUTION_PROFILE_INVALID = 16_777_250, CASS_ERROR_LIB_NO_TRACING_ID = 16_777_251, CASS_ERROR_SERVER_SERVER_ERROR = 33_554_432, CASS_ERROR_SERVER_PROTOCOL_ERROR = 33_554_442, CASS_ERROR_SERVER_BAD_CREDENTIALS = 33_554_688, CASS_ERROR_SERVER_UNAVAILABLE = 33_558_528, CASS_ERROR_SERVER_OVERLOADED = 33_558_529, CASS_ERROR_SERVER_IS_BOOTSTRAPPING = 33_558_530, CASS_ERROR_SERVER_TRUNCATE_ERROR = 33_558_531, CASS_ERROR_SERVER_WRITE_TIMEOUT = 33_558_784, CASS_ERROR_SERVER_READ_TIMEOUT = 33_559_040, CASS_ERROR_SERVER_READ_FAILURE = 33_559_296, CASS_ERROR_SERVER_FUNCTION_FAILURE = 33_559_552, CASS_ERROR_SERVER_WRITE_FAILURE = 33_559_808, CASS_ERROR_SERVER_SYNTAX_ERROR = 33_562_624, CASS_ERROR_SERVER_UNAUTHORIZED = 33_562_880, CASS_ERROR_SERVER_INVALID_QUERY = 33_563_136, CASS_ERROR_SERVER_CONFIG_ERROR = 33_563_392, CASS_ERROR_SERVER_ALREADY_EXISTS = 33_563_648, CASS_ERROR_SERVER_UNPREPARED = 33_563_904, CASS_ERROR_SSL_INVALID_CERT = 50_331_649, CASS_ERROR_SSL_INVALID_PRIVATE_KEY = 50_331_650, CASS_ERROR_SSL_NO_PEER_CERT = 50_331_651, CASS_ERROR_SSL_INVALID_PEER_CERT = 50_331_652, CASS_ERROR_SSL_IDENTITY_MISMATCH = 50_331_653, CASS_ERROR_SSL_PROTOCOL_ERROR = 50_331_654, CASS_ERROR_SSL_CLOSED = 50_331_655, CASS_ERROR_LAST_ENTRY = 50_331_656,
}

Variants§

§

CASS_OK = 0

§

CASS_ERROR_LIB_BAD_PARAMS = 16_777_217

§

CASS_ERROR_LIB_NO_STREAMS = 16_777_218

§

CASS_ERROR_LIB_UNABLE_TO_INIT = 16_777_219

§

CASS_ERROR_LIB_MESSAGE_ENCODE = 16_777_220

§

CASS_ERROR_LIB_HOST_RESOLUTION = 16_777_221

§

CASS_ERROR_LIB_UNEXPECTED_RESPONSE = 16_777_222

§

CASS_ERROR_LIB_REQUEST_QUEUE_FULL = 16_777_223

§

CASS_ERROR_LIB_NO_AVAILABLE_IO_THREAD = 16_777_224

§

CASS_ERROR_LIB_WRITE_ERROR = 16_777_225

§

CASS_ERROR_LIB_NO_HOSTS_AVAILABLE = 16_777_226

§

CASS_ERROR_LIB_INDEX_OUT_OF_BOUNDS = 16_777_227

§

CASS_ERROR_LIB_INVALID_ITEM_COUNT = 16_777_228

§

CASS_ERROR_LIB_INVALID_VALUE_TYPE = 16_777_229

§

CASS_ERROR_LIB_REQUEST_TIMED_OUT = 16_777_230

§

CASS_ERROR_LIB_UNABLE_TO_SET_KEYSPACE = 16_777_231

§

CASS_ERROR_LIB_CALLBACK_ALREADY_SET = 16_777_232

§

CASS_ERROR_LIB_INVALID_STATEMENT_TYPE = 16_777_233

§

CASS_ERROR_LIB_NAME_DOES_NOT_EXIST = 16_777_234

§

CASS_ERROR_LIB_UNABLE_TO_DETERMINE_PROTOCOL = 16_777_235

§

CASS_ERROR_LIB_NULL_VALUE = 16_777_236

§

CASS_ERROR_LIB_NOT_IMPLEMENTED = 16_777_237

§

CASS_ERROR_LIB_UNABLE_TO_CONNECT = 16_777_238

§

CASS_ERROR_LIB_UNABLE_TO_CLOSE = 16_777_239

§

CASS_ERROR_LIB_NO_PAGING_STATE = 16_777_240

§

CASS_ERROR_LIB_PARAMETER_UNSET = 16_777_241

§

CASS_ERROR_LIB_INVALID_ERROR_RESULT_TYPE = 16_777_242

§

CASS_ERROR_LIB_INVALID_FUTURE_TYPE = 16_777_243

§

CASS_ERROR_LIB_INTERNAL_ERROR = 16_777_244

§

CASS_ERROR_LIB_INVALID_CUSTOM_TYPE = 16_777_245

§

CASS_ERROR_LIB_INVALID_DATA = 16_777_246

§

CASS_ERROR_LIB_NOT_ENOUGH_DATA = 16_777_247

§

CASS_ERROR_LIB_INVALID_STATE = 16_777_248

§

CASS_ERROR_LIB_NO_CUSTOM_PAYLOAD = 16_777_249

§

CASS_ERROR_LIB_EXECUTION_PROFILE_INVALID = 16_777_250

§

CASS_ERROR_LIB_NO_TRACING_ID = 16_777_251

§

CASS_ERROR_SERVER_SERVER_ERROR = 33_554_432

§

CASS_ERROR_SERVER_PROTOCOL_ERROR = 33_554_442

§

CASS_ERROR_SERVER_BAD_CREDENTIALS = 33_554_688

§

CASS_ERROR_SERVER_UNAVAILABLE = 33_558_528

§

CASS_ERROR_SERVER_OVERLOADED = 33_558_529

§

CASS_ERROR_SERVER_IS_BOOTSTRAPPING = 33_558_530

§

CASS_ERROR_SERVER_TRUNCATE_ERROR = 33_558_531

§

CASS_ERROR_SERVER_WRITE_TIMEOUT = 33_558_784

§

CASS_ERROR_SERVER_READ_TIMEOUT = 33_559_040

§

CASS_ERROR_SERVER_READ_FAILURE = 33_559_296

§

CASS_ERROR_SERVER_FUNCTION_FAILURE = 33_559_552

§

CASS_ERROR_SERVER_WRITE_FAILURE = 33_559_808

§

CASS_ERROR_SERVER_SYNTAX_ERROR = 33_562_624

§

CASS_ERROR_SERVER_UNAUTHORIZED = 33_562_880

§

CASS_ERROR_SERVER_INVALID_QUERY = 33_563_136

§

CASS_ERROR_SERVER_CONFIG_ERROR = 33_563_392

§

CASS_ERROR_SERVER_ALREADY_EXISTS = 33_563_648

§

CASS_ERROR_SERVER_UNPREPARED = 33_563_904

§

CASS_ERROR_SSL_INVALID_CERT = 50_331_649

§

CASS_ERROR_SSL_INVALID_PRIVATE_KEY = 50_331_650

§

CASS_ERROR_SSL_NO_PEER_CERT = 50_331_651

§

CASS_ERROR_SSL_INVALID_PEER_CERT = 50_331_652

§

CASS_ERROR_SSL_IDENTITY_MISMATCH = 50_331_653

§

CASS_ERROR_SSL_PROTOCOL_ERROR = 50_331_654

§

CASS_ERROR_SSL_CLOSED = 50_331_655

§

CASS_ERROR_LAST_ENTRY = 50_331_656

Trait Implementations§

source§

impl Clone for CassError_

source§

fn clone(&self) -> CassError_

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CassError_

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for CassError_

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for CassError_

source§

fn eq(&self, other: &CassError_) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for CassError_

source§

impl Eq for CassError_

source§

impl StructuralPartialEq for CassError_

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.