pub fn listen<E, H>(listener: UnixListener, handle: H) -> Result<(), Error>where
H: Handle<Error = HandleError> + 'static,
H::Sessions: Serialize,
CommandResult<E>: From<H::Event>,
E: Serialize,Expand description
Listen for commands on the control socket, and process them.