#![cfg(test)]
use crate::output_stream::OutputStream;
use crate::output_stream::policy::{Delivery, Replay};
use crate::{
BroadcastOutputStream, ProcessHandle, SingleSubscriberOutputStream, TerminationAttemptError,
TerminationError, WaitOrTerminateError, WaitWithOutputError,
};
#[allow(dead_code)] trait SendSync: Send + Sync {}
impl SendSync for TerminationAttemptError {}
impl SendSync for TerminationError {}
impl SendSync for WaitOrTerminateError {}
impl SendSync for WaitWithOutputError {}
impl<D, R> SendSync for SingleSubscriberOutputStream<D, R>
where
D: Delivery,
R: Replay,
{
}
impl<D, R> SendSync for BroadcastOutputStream<D, R>
where
D: Delivery,
R: Replay,
{
}
impl<Stdout, Stderr> SendSync for ProcessHandle<Stdout, Stderr>
where
Stdout: OutputStream + SendSync,
Stderr: OutputStream + SendSync,
{
}