Skip to main content

default_endpoint

Function default_endpoint 

Source
pub fn default_endpoint() -> PathBuf
Expand description

The daemon’s default endpoint for this platform.

Two different kinds of name wearing one type. On unix this is a filesystem path and the socket is a real file; on Windows it is a named-pipe name, which lives in the pipe namespace and is not a file at all. PathBuf carries both because that is what the OS APIs take — do not infer that a pipe name has a parent directory to create, or that it can be remove_filed.