Enum sqllogictest::ast::Record [−][src]
pub enum Record<'a> {
Statement {
location: Location,
expected_error: Option<&'a str>,
rows_affected: Option<u64>,
sql: &'a str,
},
Query {
location: Location,
sql: &'a str,
output: Result<QueryOutput<'a>, &'a str>,
},
Simple {
location: Location,
conn: Option<&'a str>,
sql: &'a str,
output: Output,
output_str: &'a str,
},
HashThreshold {
threshold: u64,
},
Halt,
}
Expand description
A single directive in a sqllogictest file.
Variants
Statement
Query
A query
directive.
Simple
A simple
directive.
HashThreshold
Fields
threshold: u64
A hash-threshold
directive.
Halt
A halt
directive.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Record<'a>
impl<'a> UnwindSafe for Record<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more