Constant NO_SOURCE

Source
pub const NO_SOURCE: Option<&mut Cursor<&[u8]>>;
Expand description

Chunk::write takes an Option of something that implements Read. The compiler still requires a concrete type for the generic argument even when the Option is None. This constant can be used in place of None to avoid having to specify a type for the source.