Expand description
This module defines a test actor. It is defined in a separate module
(outside of [crate::v1::testing
]) to ensure that it is compiled into
the bootstrap binary, which is not built in test mode (and anyway, test mode
does not work across crate boundaries)
Structs§
- Cause
Supervision Event - A message that causes a supervision event. The one argument determines what kind of supervision event it’ll be.
- Failing
Create Test Actor - Forward
- A message to forward to a visit list of ports. Each port removes the next entry, and adds it to the ‘visited’ list.
- GetActor
Id - A message that returns the recipient actor’s id.
- GetCast
Info - Just return the cast info of the sender.
- Test
Actor - A simple test actor used by various unit tests.
- Test
Actor With Supervision Handling - A test actor that handles supervision events. It should be the parent of TestActor who can panic or cause a SIGSEGV.
Enums§
Traits§
- GetCast
Info Client - The custom client trait for this message type.
- GetCast
Info Handler - The custom handler trait for this message type.