MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / get

Method get

src/server-core/src/lib.rs:233–235  ·  view source on GitHub ↗

Gets the UUID for the connection, if it exists.

(&self)

Source from the content-addressed store, hash-verified

231impl ConnectionUuidHandle {
232 /// Gets the UUID for the connection, if it exists.
233 pub fn get(&self) -> Option<Uuid> {
234 *self.0.lock().expect("lock poisoned")
235 }
236
237 /// Sets the UUID for this connection.
238 pub fn set(&self, conn_uuid: Uuid) {

Callers 4

readMethod · 0.45
readMethod · 0.45
displayMethod · 0.45
serveFunction · 0.45

Calls 3

expectMethod · 0.80
lockMethod · 0.80
readMethod · 0.45

Tested by

no test coverage detected