bind

Function bind 

Source
pub async fn bind<P: AsRef<Path>>(path: P) -> Result<UnixListener>
Expand description

Bind a Unix domain socket at the given path.

ยงErrors

Returns an error if the socket file cannot be removed or if binding to the provided path fails.