Skip to main content

ContentReader

Type Alias ContentReader 

Source
pub type ContentReader = Box<dyn Read + Send>;
Expand description

A streaming read of stored content. It fails with std::io::ErrorKind::InvalidData at the end if the bytes turn out not to match their address, so a consumer that reads to the end has read verified content.

Aliased Typeยง

pub struct ContentReader(/* private fields */);