Enum cdrs::frame::frame_response::ResponseBody[][src]

pub enum ResponseBody {
    Error(CDRSError),
    Startup,
    Ready(BodyResResultVoid),
    Authenticate(BodyResAuthenticate),
    Options,
    Supported(BodyResSupported),
    Query,
    Result(ResResultBody),
    Prepare,
    Execute,
    Register,
    Event(BodyResEvent),
    Batch,
    AuthChallenge(BodyResAuthChallenge),
    AuthResponse,
    AuthSuccess(BodyReqAuthSuccess),
}

Variants

Methods

impl ResponseBody
[src]

It unwraps body and returns BodyResResultPrepared which contains an exact result of PREPARE query. If frame body is not of type Result this method returns None.

It unwraps body and returns BodyResResultPrepared which contains an exact result of use keyspace query. If frame body is not of type Result this method returns None.

It unwraps body and returns BodyResEvent. If frame body is not of type Result this method returns None.

Trait Implementations

impl Debug for ResponseBody
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations