pub trait MonitorNewConnection {
type ConnectionMonitor: MonitorAsyncReadWrite;
// Required methods
fn new_connection_monitor(
&self,
endpoint: String,
) -> Self::ConnectionMonitor;
fn on_err(&self, endpoint: String);
}