Skip to main content

init_open

Function init_open 

Source
pub fn init_open(server: &str, out: &Path) -> Result<(), SeatInitError>
Expand description

Writes an open seat file at out, mode 0600 (ACCESS-011 R1).

The file names the open exchange at server, no credential, and [open] reach = "network" when the address is off loopback. An existing file is refused, never replaced.

ยงErrors

An invalid server address, or a file that exists or cannot be made.