pub type SessionPid = Box<dyn Fn(&str) -> Option<u32> + Send>;
A durable session’s shell PID, by session id (the daemon’s).
pub struct SessionPid(/* private fields */);