Struct cdrs::frame::Frame[][src]

pub struct Frame {
    pub version: Version,
    pub flags: Vec<Flag>,
    pub opcode: Opcode,
    pub stream: u16,
    pub body: Vec<u8>,
    pub tracing_id: Option<Uuid>,
    pub warnings: Vec<String>,
}

Fields

Methods

impl Frame
[src]

Creates new frame of type AuthResponse.

impl Frame
[src]

Note: This function should be used internally for building query request frames.

impl Frame
[src]

Note: This function should be used internally for building query request frames.

impl Frame
[src]

Creates new frame of type options.

impl Frame
[src]

Note: This function should be used internally for building query request frames.

impl Frame
[src]

Note: This function should be used internally for building query request frames.

Note: This function should be used internally for building query request frames.

impl Frame
[src]

Creates new frame of type REGISTER.

impl Frame
[src]

Creates new frame of type startup.

impl Frame
[src]

Trait Implementations

impl Debug for Frame
[src]

Formats the value using the given formatter. Read more

impl<'a> IntoBytes for Frame
[src]

It should convert a struct into an array of bytes.

Auto Trait Implementations

impl Send for Frame

impl Sync for Frame