pub trait Query: Send + Sync {
// Required method
fn to_kdb_message(&self, message_type: u8) -> KdbMessage;
}Expand description
Feature of query object.
Required Methods§
Sourcefn to_kdb_message(&self, message_type: u8) -> KdbMessage
fn to_kdb_message(&self, message_type: u8) -> KdbMessage
Convert into a KdbMessage for encoding
§Parameters
message_type: Message type. One of followings:qmsg_type::asynchronousqmsg_type::synchronousqmsg_type::response
Implementations on Foreign Types§
Source§impl Query for &str
Text query.
impl Query for &str
Text query.