Skip to main content

Module protocol

Module protocol 

Source

Re-exports§

pub use auth::AuthMethod;
pub use auth::AuthResponse;
pub use batch::BatchDocument;
pub use batch::BatchVector;
pub use frames::ErrorPayload;
pub use frames::NativeRequest;
pub use frames::NativeResponse;
pub use handshake::CAP_COLUMNAR;
pub use handshake::CAP_CRDT;
pub use handshake::CAP_FTS;
pub use handshake::CAP_GRAPHRAG;
pub use handshake::CAP_MSGPACK;
pub use handshake::CAP_SPATIAL;
pub use handshake::CAP_STREAMING;
pub use handshake::CAP_TIMESERIES;
pub use handshake::DEFAULT_NATIVE_PORT;
pub use handshake::FRAME_HEADER_LEN;
pub use handshake::HELLO_ACK_MAGIC;
pub use handshake::HELLO_ERROR_MAGIC;
pub use handshake::HELLO_ERROR_MAGIC_U32;
pub use handshake::HELLO_MAGIC;
pub use handshake::HelloAckFrame;
pub use handshake::HelloErrorCode;
pub use handshake::HelloErrorFrame;
pub use handshake::HelloFrame;
pub use handshake::Limits;
pub use handshake::MAX_FRAME_SIZE;
pub use handshake::PROTO_VERSION;
pub use handshake::PROTO_VERSION_MAX;
pub use handshake::PROTO_VERSION_MIN;
pub use opcodes::OpCode;
pub use opcodes::ResponseStatus;
pub use opcodes::UnknownOpCode;
pub use request_fields::RequestFields;
pub use text_fields::TextFields;

Modules§

auth
Authentication method types.
batch
Batch operation payload types.
frames
Native protocol request and response frame types.
handshake
Handshake frames and per-operation limits for the native binary protocol.
opcodes
Operation codes and response status for the native binary protocol.
request_fields
RequestFields — tagged union of operation-specific field sets.
text_fields