Function fdringbuf::ringbuf::channel [] [src]

pub fn channel<'a, T: Copy>(
    slice: &'a mut [u8]
) -> (Sender<'a, T>, Receiver<'a, T>)

Create a channel (without signaling) Non-allocating - expects a pre-allocated buffer