Crate fdringbuf [−] [src]
Modules
fdbuf |
Ringbuffer with signalling via fd:s. You can use it with std::os::Pipe, but do try nix-rust's eventfds for slightly better performance! You will typically integrate with mio so you can wait for many fds at once, hence there are no functions that actually wait, just functions that give out the Fd to wait for. |
ringbuf |
This is a fast ringbuffer that tries to avoid memory copies as much as possible. There can be one producer and one consumer, but they can be in different threads i e, they are Send but not Clone. |