Skip to main content

read_frame_json

Function read_frame_json 

Source
pub async fn read_frame_json<R, T>(r: &mut R) -> Result<Option<T>, FrameError>
Expand description

Read a framed JSON blob and decode into T. Returns Ok(None) on a clean frame-boundary EOF.