MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / accept

Method accept

guest-agent/src/socket_activation.rs:69–71  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

67 type Connection = UnixStream;
68
69 async fn accept(&self) -> io::Result<Self::Accept> {
70 Ok(self.listener.accept().await?.0)
71 }
72
73 async fn connect(&self, accept: Self::Accept) -> io::Result<Self::Connection> {
74 Ok(accept)

Callers 1

tls_acceptMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected