Struct devtools::actors::reflow::ReflowActor
source · pub struct ReflowActor {
name: String,
}
Fields§
§name: String
Implementations§
Trait Implementations§
source§impl Actor for ReflowActor
impl Actor for ReflowActor
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 reflow actor can handle the following messages:
start
: Does nothing yet. This doesn’t need a reply like other messages.
fn name(&self) -> String
fn cleanup(&self, _id: StreamId)
Auto Trait Implementations§
impl Freeze for ReflowActor
impl RefUnwindSafe for ReflowActor
impl Send for ReflowActor
impl Sync for ReflowActor
impl Unpin for ReflowActor
impl UnwindSafe for ReflowActor
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