Struct devtools::actors::watcher::network_parent::NetworkParentActor
source · pub struct NetworkParentActor {
name: String,
}
Fields§
§name: String
Implementations§
Trait Implementations§
source§impl Actor for NetworkParentActor
impl Actor for NetworkParentActor
source§fn handle_message(
&self,
_registry: &ActorRegistry,
msg_type: &str,
_msg: &Map<String, Value>,
stream: &mut TcpStream,
_id: StreamId,
) -> Result<ActorMessageStatus, ()>
fn handle_message( &self, _registry: &ActorRegistry, msg_type: &str, _msg: &Map<String, Value>, stream: &mut TcpStream, _id: StreamId, ) -> Result<ActorMessageStatus, ()>
The network parent actor can handle the following messages:
setSaveRequestAndResponseBodies
: Doesn’t do anything yet
fn name(&self) -> String
fn cleanup(&self, _id: StreamId)
Auto Trait Implementations§
impl Freeze for NetworkParentActor
impl RefUnwindSafe for NetworkParentActor
impl Send for NetworkParentActor
impl Sync for NetworkParentActor
impl Unpin for NetworkParentActor
impl UnwindSafe for NetworkParentActor
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more