Broadcast work requests to each node
This commit is contained in:
@ -67,6 +67,12 @@ impl Into<WorkerMessages> for String {
|
||||
}
|
||||
}
|
||||
|
||||
impl Into<RocketMessage> for WorkerMessages {
|
||||
fn into(self) -> RocketMessage {
|
||||
RocketMessage::Text(self.to_string())
|
||||
}
|
||||
}
|
||||
|
||||
impl TryInto<WorkerMessages> for RocketMessage {
|
||||
type Error = String;
|
||||
|
||||
|
Reference in New Issue
Block a user