pub trait Middleware {
// Required method
fn poll_handle_wrapped<H: AsyncHandler + Unpin>(
self: Pin<&mut Self>,
cx: &mut FutureContext<'_>,
rtmp_context: &mut RtmpContext,
handler: Pin<&mut H>,
) -> Poll<IOResult<()>>;
}
Required Methods§
fn poll_handle_wrapped<H: AsyncHandler + Unpin>( self: Pin<&mut Self>, cx: &mut FutureContext<'_>, rtmp_context: &mut RtmpContext, handler: Pin<&mut H>, ) -> Poll<IOResult<()>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.