pub(crate) fn bind_long_path<L>(
path: &Path,
bind: impl FnOnce(PathBuf) -> Result<L>,
) -> Result<L>Expand description
Bind a listener with bind at a socket path whatever its length, see
shorten_path. The parent directory gets created if it does not exist.
The callers name the socket in the error of a failed bind.