Skip to main content

identity

Function identity 

Source
pub fn identity(path: &Path) -> Result<ActorKey, String>
Expand description

Reads the node key at path, or mints one there.

ยงErrors

Returns a description when the file exists and is not 32 bytes, or cannot be written.