Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Difference From bndpresbufch-0.1.1 To bndpresbufch-0.1.2
2024-10-05
| ||
18:38 | Release maintenance. Leaf check-in: b7e46a1ab9 user: jan tags: bndpresbufch-0.1.2, trunk | |
18:34 | Update bndpresbufq to 0.1.4 for queue size bugfix. check-in: 5b3ae18f20 user: jan tags: trunk | |
03:33 | Update top module example. check-in: 12d539cfc9 user: jan tags: trunk | |
02:37 | Happy pedantic clippy. check-in: ab1ab20aac user: jan tags: bndpresbufch-0.1.1, trunk | |
02:34 | Code normalization. check-in: b3e32c1bfc user: jan tags: trunk | |
Changes to Cargo.toml.
1 2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | - + - + | [package] name = "bndpresbufch" |
Changes to src/lib.rs.
︙ | |||
20 21 22 23 24 25 26 27 28 29 30 31 32 33 | 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | + + + + + + + | //! tx.force_push(vec![3, 4]).unwrap(); //! //! // Fail to add more data //! assert_eq!(tx.try_push(vec![5]), Err(Error::WontFit(vec![5]))); //! //! // Force push data to the queue, ejecting the oldest buffer //! tx.force_push(vec![6]).unwrap(); //! //! // Pull off a buffer that must be handled. //! // Then drop the managed node before marking it has handled, which should //! // put it back onto the channel. //! let n = rx.pop_managed().unwrap(); //! assert_eq!(*n, [3, 4]); //! drop(n); //! //! assert_eq!(rx.pop(), Some(vec![3, 4])); //! assert_eq!(rx.try_pop(), Ok(Some(vec![6]))); //! assert_eq!(rx.try_pop(), Ok(None)); //! ``` mod err; |
︙ |
Changes to www/changelog.md.
1 2 3 4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | - + - + + + + + + + + + + + | # Change Log ## [Unreleased] |
︙ |