pub trait IP2PFrame<M>: Send + 'static {
// Required method
fn read_to_end<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<M>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
// Provided method
fn into_dyn(self) -> DynIP2PFrame<M>
where Self: Sized { ... }
}Required Methods§
Provided Methods§
fn into_dyn(self) -> DynIP2PFrame<M>where
Self: Sized,
Implementations on Foreign Types§
Source§impl<M> IP2PFrame<M> for BytesMut
Implementations of the IP2PFrame and IP2PConnection traits for TLS
impl<M> IP2PFrame<M> for BytesMut
Implementations of the IP2PFrame and IP2PConnection traits for TLS
Source§impl<M> IP2PFrame<M> for RecvStream
Implementations of the IP2PFrame and IP2PConnection traits for Iroh
impl<M> IP2PFrame<M> for RecvStream
Implementations of the IP2PFrame and IP2PConnection traits for Iroh