Enum ql2::response::ResponseType [−][src]
#[repr(i32)]
pub enum ResponseType {
SuccessAtom,
SuccessSequence,
SuccessPartial,
WaitComplete,
ServerInfo,
ClientError,
CompileError,
RuntimeError,
}
Variants
These response types indicate success.
Query returned a single RQL datatype.
Query returned a sequence of RQL datatypes.
Query returned a partial sequence of RQL
datatypes. If you send a [CONTINUE] query with the same token as this response, you will get more of the sequence. Keep sending [CONTINUE] queries until you get back [SUCCESS_SEQUENCE].
A [NOREPLY_WAIT] query completed.
The data for a [SERVER_INFO] request. This is
These response types indicate failure.
Means the client is buggy. An example is if the
client sends a malformed protobuf, or tries to send [CONTINUE] for an unknown token.
Means the query failed during parsing or type
checking. For example, if you pass too many arguments to a function.
Means the query failed at runtime. An example is
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for ResponseType
impl Send for ResponseType
impl Sync for ResponseType
impl Unpin for ResponseType
impl UnwindSafe for ResponseType
Blanket Implementations
Mutably borrows from an owned value. Read more