pub const fn descriptor_count(
buffer_size: usize,
chunk_size: usize,
is_circular: bool,
) -> usize
Available on crate feature
unstable
only.Expand description
Computes the number of descriptors required for a given buffer size with a given chunk size.