Function ssb_keyfile::write_to_path [−][src]
pub fn write_to_path<P: AsRef<Path>>(
keypair: &Keypair,
path: P
) -> Result<(), Error>
Expand description
Write the given Keypair to a new file at the specified path. path
should include the file name.
Fails if the path exists, or if the path is a directory.