Function fdringbuf::ringbuf::channel_bufsize [] [src]

pub fn channel_bufsize<T: Copy>(capacity: usize) -> usize

Use this utility function to figure out how big buffer you need to allocate.