PipeClient

Type Alias PipeClient 

Source
pub type PipeClient = Client<PipeConnection>;
Expand description

Command-server client which spawns new server process and interacts via pipe.

Aliased Type§

pub struct PipeClient { /* private fields */ }

Implementations§

Source§

impl PipeClient

Source

pub async fn spawn_at(dir: impl AsRef<Path>) -> Result<Self>

Spawns a server process at the specified directory with the default configuration.

Source

pub async fn spawn_with(command: &mut Command) -> Result<Self>

Spawns a server process by the given process builder.