refactor(core): narrow the 1.0 public API

This commit is contained in:
2026-10-22 08:44:09 -07:00
parent 94c3a3c8ad
commit 158689e265
18 changed files with 166 additions and 95 deletions
+2 -2
View File
@@ -112,8 +112,8 @@ impl SimWorld {
/// A test seam: it lets tests feed arbitrary or malformed byte strings
/// straight to a node's exchange, which is where the "never panic on
/// untrusted wire input" guarantee lives. The frame is not validated here —
/// a malformed frame is dropped by the receiving node's
/// [`Exchange`](tines_core::Exchange) rather than stored.
/// a malformed frame is dropped by the receiving
/// [`Node`](tines_core::Node) rather than stored.
pub fn inject_frame(&mut self, node: usize, peer: usize, bytes: FrameBuf) {
self.inboxes[node].push_back(Event::Frame(peer, bytes));
}