pub fn end_of_stream_error<T>() -> Result<T>
Expand description

Convenience function to create an end-of-stream error.