use ExitStatus;
use Result;
use crate;
/// Binds an ACP agent to the requested transport/host/port, matching `serve`.
///
/// The function returns the `ExitStatus` of the spawned agent so the caller can
/// surface failures that happen while the agent is running under a network
/// transport.
pub async