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

Function decode_password

src/balancerd/src/codec.rs:293–297  ·  view source on GitHub ↗
(mut buf: Cursor)

Source from the content-addressed store, hash-verified

291}
292
293fn decode_password(mut buf: Cursor) -> Result<FrontendMessage, io::Error> {
294 Ok(FrontendMessage::Password {
295 password: buf.read_cstr()?.to_owned(),
296 })
297}

Callers 1

decodeMethod · 0.70

Calls 2

read_cstrMethod · 0.80
to_ownedMethod · 0.45

Tested by

no test coverage detected