#[non_exhaustive]pub enum CqlResponseParseError {
CqlErrorParseError(CqlErrorParseError),
CqlAuthChallengeParseError(CqlAuthChallengeParseError),
CqlAuthSuccessParseError(CqlAuthSuccessParseError),
CqlAuthenticateParseError(CqlAuthenticateParseError),
CqlSupportedParseError(CqlSupportedParseError),
CqlEventParseError(CqlEventParseError),
CqlResultParseError(CqlResultParseError),
}
Expand description
An error type returned when deserialization of CQL server response fails.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
CqlErrorParseError(CqlErrorParseError)
CqlAuthChallengeParseError(CqlAuthChallengeParseError)
CqlAuthSuccessParseError(CqlAuthSuccessParseError)
CqlAuthenticateParseError(CqlAuthenticateParseError)
CqlSupportedParseError(CqlSupportedParseError)
CqlEventParseError(CqlEventParseError)
CqlResultParseError(CqlResultParseError)
Implementations§
source§impl CqlResponseParseError
impl CqlResponseParseError
pub fn to_response_kind(&self) -> CqlResponseKind
Trait Implementations§
source§impl Clone for CqlResponseParseError
impl Clone for CqlResponseParseError
source§fn clone(&self) -> CqlResponseParseError
fn clone(&self) -> CqlResponseParseError
Returns a copy 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 CqlResponseParseError
impl Debug for CqlResponseParseError
source§impl Display for CqlResponseParseError
impl Display for CqlResponseParseError
source§impl Error for CqlResponseParseError
impl Error for CqlResponseParseError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<CqlAuthChallengeParseError> for CqlResponseParseError
impl From<CqlAuthChallengeParseError> for CqlResponseParseError
source§fn from(source: CqlAuthChallengeParseError) -> Self
fn from(source: CqlAuthChallengeParseError) -> Self
Converts to this type from the input type.
source§impl From<CqlAuthSuccessParseError> for CqlResponseParseError
impl From<CqlAuthSuccessParseError> for CqlResponseParseError
source§fn from(source: CqlAuthSuccessParseError) -> Self
fn from(source: CqlAuthSuccessParseError) -> Self
Converts to this type from the input type.
source§impl From<CqlAuthenticateParseError> for CqlResponseParseError
impl From<CqlAuthenticateParseError> for CqlResponseParseError
source§fn from(source: CqlAuthenticateParseError) -> Self
fn from(source: CqlAuthenticateParseError) -> Self
Converts to this type from the input type.
source§impl From<CqlErrorParseError> for CqlResponseParseError
impl From<CqlErrorParseError> for CqlResponseParseError
source§fn from(source: CqlErrorParseError) -> Self
fn from(source: CqlErrorParseError) -> Self
Converts to this type from the input type.
source§impl From<CqlEventParseError> for CqlResponseParseError
impl From<CqlEventParseError> for CqlResponseParseError
source§fn from(source: CqlEventParseError) -> Self
fn from(source: CqlEventParseError) -> Self
Converts to this type from the input type.
source§impl From<CqlResultParseError> for CqlResponseParseError
impl From<CqlResultParseError> for CqlResponseParseError
source§fn from(source: CqlResultParseError) -> Self
fn from(source: CqlResultParseError) -> Self
Converts to this type from the input type.
source§impl From<CqlSupportedParseError> for CqlResponseParseError
impl From<CqlSupportedParseError> for CqlResponseParseError
source§fn from(source: CqlSupportedParseError) -> Self
fn from(source: CqlSupportedParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CqlResponseParseError
impl !RefUnwindSafe for CqlResponseParseError
impl Send for CqlResponseParseError
impl Sync for CqlResponseParseError
impl Unpin for CqlResponseParseError
impl !UnwindSafe for CqlResponseParseError
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)