Skip to main content

init

Function init 

Source
pub fn init(
    agent: &str,
    key_file: &Path,
    out: &Path,
) -> Result<(), SeatInitError>
Expand description

Writes a seat file at out, mode 0600, naming the central exchange and Lys, the agent and its key file, and never a pass. An existing file is refused, never replaced.

ยงErrors

An invalid agent id or key path, or a file that exists or cannot be made.