pub(crate) trait Peer {
type Poll: Debug;
const NAME: &'static str;
// Required methods
fn dyn() -> Dyn;
fn convert_poll_message(
pseudo: Pseudo,
fields: HeaderMap,
stream_id: StreamId,
) -> Result<Self::Poll, Error>;
}
Expand description
Either a Client or a Server
Required Associated Types§
Required Associated Constants§
Required Methods§
fn dyn() -> Dyn
fn convert_poll_message( pseudo: Pseudo, fields: HeaderMap, stream_id: StreamId, ) -> Result<Self::Poll, Error>
Object Safety§
This trait is not object safe.