pub trait ErrorHandler {
// Required method
fn poll_handle_error(
self: Pin<&mut Self>,
cx: &mut FutureContext<'_>,
rtmp_context: &mut RtmpContext,
error: IOError,
) -> Poll<IOResult<()>>;
}
pub trait ErrorHandler {
// Required method
fn poll_handle_error(
self: Pin<&mut Self>,
cx: &mut FutureContext<'_>,
rtmp_context: &mut RtmpContext,
error: IOError,
) -> Poll<IOResult<()>>;
}