use wireframe::hooks::{ConnectionContext, WireframeProtocol};
pub struct Terminator;
impl WireframeProtocol for Terminator {
type Frame = u8;
type ProtocolError = ();
fn stream_end_frame(&self, _ctx: &mut ConnectionContext) -> Option<Self::Frame> { Some(0) }
}