pub fn save_stash(peer: Peer, stash: &[u8])Expand description
Save the given [Stash].
When called, the stash for the given peer will be stored in RAM.
Calling load_stash for the same peer will return that stash.
On exit, the runtime will persist the stash in FS.
Next time the app starts, calling load_stash will restore the stash
saved earlier.