Enum scylla_cql::frame::response::Response
source · pub enum Response {
Error(Error),
Ready,
Result(Result),
Authenticate(Authenticate),
AuthSuccess(AuthSuccess),
AuthChallenge(AuthChallenge),
Supported(Supported),
Event(Event),
}
Variants§
Error(Error)
Ready
Result(Result)
Authenticate(Authenticate)
AuthSuccess(AuthSuccess)
AuthChallenge(AuthChallenge)
Supported(Supported)
Event(Event)
Implementations§
source§impl Response
impl Response
pub fn to_response_kind(&self) -> CqlResponseKind
pub fn deserialize( features: &ProtocolFeatures, opcode: ResponseOpcode, buf_bytes: Bytes, cached_metadata: Option<&Arc<ResultMetadata<'static>>>, ) -> Result<Response, CqlResponseParseError>
pub fn into_non_error_response(self) -> Result<NonErrorResponse, Error>
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Response
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnwindSafe for Response
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