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

Method peer_addr

src/pgwire/src/codec.rs:193–195  ·  view source on GitHub ↗

Returns the peer address of the connection.

(&self)

Source from the content-addressed store, hash-verified

191
192 /// Returns the peer address of the connection.
193 pub fn peer_addr(&self) -> &Option<IpAddr> {
194 &self.peer_addr
195 }
196}
197
198impl<A> FramedConn<A>

Callers 5

runFunction · 0.45
handle_connectionMethod · 0.45
handle_connectionMethod · 0.45
handle_connectionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected