Trait mysql_connector::connection::Stream
source · pub trait Stream: Sized + AsyncRead + AsyncWrite + Unpin + Debug {
// Required method
async fn connect(
host: &str,
port: u16,
nodelay: bool,
) -> Result<Self, Error>;
}
Required Methods§
Object Safety§
This trait is not object safe.