pub mod reqwest; use std::future::Future; use futures_core::Stream; use crate::{codec::ConnectCodec, error::Error, stream::Frame, Request, Response}; pub trait ConnectChannel { fn unary_call( &self, method: &str, request: Request, codec: &mut impl ConnectCodec, ) -> impl Future, Error>>; fn streaming_call( &self, method: &str, request: Request> + Send>, codec: &mut impl ConnectCodec, ) -> impl Future>>, Error>>; }