pub async fn persist<L: FrameLink>(
device: &mut UlcpDevice<L>,
no_save: bool,
) -> Result<()>Expand description
Finish a mutating command: persist by default, or report the
live-only state under --no-save.
Both modes behave the same. A REPL session killed by a dropped link
would otherwise silently lose everything since the last manual
save, and the device treats saving as cheap.