sheave_core::handlers

Trait ErrorHandler

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

Required Methods§

Source

fn poll_handle_error( self: Pin<&mut Self>, cx: &mut FutureContext<'_>, rtmp_context: &mut RtmpContext, error: IOError, ) -> Poll<IOResult<()>>

Implementors§