MCPcopy Create free account
hub / github.com/SeaQL/sea-orm / connect_timeout

Method connect_timeout

src/database/mod.rs:234–237  ·  view source on GitHub ↗

Set the timeout duration when acquiring a connection

(&mut self, value: Duration)

Source from the content-addressed store, hash-verified

232
233 /// Set the timeout duration when acquiring a connection
234 pub fn connect_timeout(&mut self, value: Duration) -> &mut Self {
235 self.connect_timeout = Some(value);
236 self
237 }
238
239 /// Get the timeout duration when acquiring a connection, if set
240 pub fn get_connect_timeout(&self) -> Option<Duration> {

Callers 2

initMethod · 0.80
initMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected