[][src]Crate seal_rs

This library contains various useful abstractions used for construct of reactive and non-blocking asynchronous apps with high cpu-time utilisation. He contains few modules. Each module have it's own reach documentation. See concrete module for more info.

Modules

actors

Actor based asynchronous runtime

common

Useful types and functions used in the library

examples

How to use this library

executors

Executors environment

futures

Classic realization of Future / Promise paradigm

testkit

A set of tools for testing code based on the library

Macros

extended_type_matcher

Creates TestProbe matcher function which match specified message type and if is was success, apply specified user function to the result.

in_state

Extract actor object from TestActorRef. This object is immutable and may be used for reversion of the internal actor's state. For use this macros, target actor must implement the as_any method from the Actor trait. Without satisfying this condition, macros will cause panic.

matcher

Creates TestProbe matcher function from the user specified block of code

pat_matcher

Creates TestProbe matcher function which match specified message by match arm. Match arm must be specified without guards.

test_case

Common testkit macros Print fmt info text of the test case

tsafe
type_matcher

Creates TestProbe matcher function which match specified message type.