Dario Nieuwenhuis
|
ac50995516
More clippy fixes.
|
4 years ago |
Alex Crawford
|
48539a84dc
Prefer elided lifetimes
|
4 years ago |
Dario Nieuwenhuis
|
1e40b934bf
Update to Rust 2018. Fixes #271
|
4 years ago |
Astro
|
908ef8d020
Optimize RingBuffer::enqueue_many_with to an empty buffer.
|
6 years ago |
Philipp Oppermann
|
58e534a2fb
Use separate metadata and payload buffers for UDP sockets.
|
7 years ago |
whitequark
|
8ee2f7bff5
Style fixes.
|
7 years ago |
whitequark
|
16e6e70d2f
Fix many warnings.
|
7 years ago |
whitequark
|
f65bc8aa79
Make sure all side-effectful RingBuffer methods are #[must_use].
|
7 years ago |
whitequark
|
3c74d3309b
Add RingBuffer::{enqueue_allocated,dequeue_allocated}.
|
7 years ago |
whitequark
|
7b29dfee2e
Add RingBuffer::{read_allocated,write_unallocated}.
|
7 years ago |
whitequark
|
c5deacbcb8
Fix warnings.
|
7 years ago |
whitequark
|
14355e15d0
RingBuffer::{empty,full}→is_{empty,full}.
|
7 years ago |
whitequark
|
ef6f65812e
Remove RingBuffer::set_len().
|
7 years ago |
whitequark
|
68921f14f8
Refactor the "random access" ring buffer interface.
|
7 years ago |
whitequark
|
fb05226a62
Refactor the "continuous" ring buffer interface.
|
7 years ago |
whitequark
|
9cb813134c
Merge the TCP ring buffer and generic ring buffer.
|
7 years ago |
whitequark
|
39464a53fc
Compute soft deadline in poll() and use nonblocking sockets.
|
7 years ago |
whitequark
|
492fe3e4b1
Rework and test UDP sockets.
|
7 years ago |
whitequark
|
5bf64586cd
Get rid of Result<_, ()>.
|
7 years ago |
whitequark
|
f31f7240be
Rename RingBuffer::{dequeue_mut→dequeue}, remove RingBuffer::dequeue.
|
7 years ago |
Egor Karavaev
|
441881609c
Factor out the `RingBuffer` container.
|
7 years ago |