Skip to main content

accept_uds

Function accept_uds 

Source
pub async fn accept_uds(stream: UnixStream) -> Result<(u8, UdsSession)>
Expand description

Accept side: read the plane byte from a freshly-accepted UnixStream, then wrap it in a server-mode yamux session. The caller routes by plane (PLANE_RPC → RPC dispatcher, PLANE_MOQ → moq_net::Server::accept).