mirror of
https://github.com/Astatin3/unshell.git
synced 2026-06-08 22:38:01 -06:00
Various formatting changes.
This commit is contained in:
@@ -10,7 +10,6 @@ use unshell::protocol::tree::{ChildRoute, EndpointOutcome, LocalEvent, ProtocolE
|
||||
pub const LISTEN_ADDR: &str = "127.0.0.1:4444";
|
||||
|
||||
#[derive(Leaf)]
|
||||
#[leaf(org = "org", product = "example", version = "v1", leaf_name = "shell")]
|
||||
#[leaf(procedures(start))]
|
||||
pub struct RemoteShellLeaf;
|
||||
|
||||
|
||||
@@ -36,7 +36,10 @@ impl Simulation {
|
||||
message.data.clone(),
|
||||
true,
|
||||
)?;
|
||||
self.record_trace(node_id, format!("leaf {leaf_name} echoed {} bytes", message.data.len()));
|
||||
self.record_trace(
|
||||
node_id,
|
||||
format!("leaf {leaf_name} echoed {} bytes", message.data.len()),
|
||||
);
|
||||
self.process_outcome(node_id, outcome)?;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user