MCPcopy Create free account
hub / github.com/f0rr0/oliphaunt / check_ready

Method check_ready

src/pglite/client.rs:1352–1363  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

1350 }
1351
1352 fn check_ready(&self) -> Result<()> {
1353 if self.closing {
1354 bail!("Pglite instance is closing");
1355 }
1356 if self.closed {
1357 bail!("Pglite instance is closed");
1358 }
1359 if !self.ready {
1360 bail!("Pglite instance is not ready");
1361 }
1362 Ok(())
1363 }
1364}
1365
1366impl Drop for Pglite {

Callers 8

refresh_array_typesMethod · 0.80
queryMethod · 0.80
dump_sqlMethod · 0.80
execMethod · 0.80
listenMethod · 0.80
describe_queryMethod · 0.80
transactionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected