use {
async_trait::async_trait,
std::{io, marker::Unpin, net},
};
use async_std::io::{Read, Write};
#[async_trait]
pub trait CDRSTransport: Sized + Read + Write + Send + Sync + Unpin {
fn close(&mut self, close: net::Shutdown) -> io::Result<()>;
fn is_alive(&self) -> bool;
}