//! The shepherd's end of a dog's own connection, as a runner hands it over.
use ServerStream;
/// The daemon's end of the connection a dog was spawned holding
///
/// Opened by the runner at spawn and named for the dog it belongs to, so the
/// server that serves it never asks the peer who it is: the connection is
/// the identity. On unix the socketpair wrapped here is made at spawn; on
/// Windows it is a named pipe the dog opens by the name in `$SHEP_DOG_PIPE`.
/// `Debug` is derived: no env value reaches this type.