Struct mz_sqllogictest::runner::RunnerInner
source · pub struct RunnerInner {
server_addr: SocketAddr,
internal_server_addr: SocketAddr,
client: Client,
system_client: Client,
clients: BTreeMap<String, Client>,
auto_index_tables: bool,
auto_transactions: bool,
_shutdown_trigger: Sender<()>,
_server_thread: JoinOnDropHandle<()>,
_temp_dir: TempDir,
}
Fields§
§server_addr: SocketAddr
§internal_server_addr: SocketAddr
§client: Client
§system_client: Client
§clients: BTreeMap<String, Client>
§auto_index_tables: bool
§auto_transactions: bool
§_shutdown_trigger: Sender<()>
§_server_thread: JoinOnDropHandle<()>
§_temp_dir: TempDir
Implementations§
source§impl RunnerInner
impl RunnerInner
pub async fn start(config: &RunConfig<'_>) -> Result<RunnerInner, Error>
async fn run_record<'r>(
&mut self,
record: &'r Record<'r>,
in_transaction: &mut bool
) -> Result<Outcome<'r>, Error>
async fn run_statement<'a>(
&mut self,
expected_error: Option<&'a str>,
expected_rows_affected: Option<u64>,
sql: &'a str,
location: Location
) -> Result<Outcome<'a>, Error>
async fn run_query<'a>(
&mut self,
sql: &'a str,
output: &'a Result<QueryOutput<'_>, &'a str>,
location: Location,
in_transaction: &mut bool
) -> Result<Outcome<'a>, Error>
async fn get_conn(&mut self, name: Option<&str>, user: Option<&str>) -> &Client
async fn run_simple<'a>(
&mut self,
conn: Option<&'a str>,
user: Option<&'a str>,
sql: &'a str,
output: &'a Output,
location: Location
) -> Result<Outcome<'a>, Error>
Auto Trait Implementations§
impl !RefUnwindSafe for RunnerInner
impl Send for RunnerInner
impl Sync for RunnerInner
impl Unpin for RunnerInner
impl !UnwindSafe for RunnerInner
Blanket Implementations§
source§impl<T> FutureExt for T
impl<T> FutureExt for T
source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request
source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
source§fn into_rust(self) -> Result<R, TryFromProtoError>
fn into_rust(self) -> Result<R, TryFromProtoError>
See
RustType::from_proto
.source§fn from_rust(rust: &R) -> P
fn from_rust(rust: &R) -> P
See
RustType::into_proto
.