mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
parent
87af57cefc
commit
2764ec0f7b
5 changed files with 17 additions and 17 deletions
|
@ -18,7 +18,7 @@ use rustc_serialize::json;
|
|||
pub trait Actor: Any {
|
||||
fn handle_message(&self,
|
||||
registry: &ActorRegistry,
|
||||
msg_type: &String,
|
||||
msg_type: &str,
|
||||
msg: &json::Object,
|
||||
stream: &mut TcpStream) -> Result<bool, ()>;
|
||||
fn name(&self) -> String;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue