Function hff_core::write::chunk

source ·
pub fn chunk<'a, T>(
    primary: impl Into<Ecc>,
    secondary: impl Into<Ecc>,
    content: T
) -> Result<ChunkDesc<'a>>
where T: TryInto<DataSource<'a>>, <T as TryInto<DataSource<'a>>>::Error: Debug, Error: From<<T as TryInto<DataSource<'a>>>::Error>,
Expand description

Build a new chunk.