Crate phonecall

source ·
Expand description

A tiny easy to use helper that makes function calls through threads/ tasks easier with tokio channels For an example check cargo run --example simple at examples/simple.rs

Re-exports

pub use broadcast::*;
pub use broadcast_center::*;

Modules

A multi-producer, single-consumer queue for sending values between asynchronous tasks.

Macros

Type coersion, ignore
Helper macro for creating call centers from operations Example usage:
Helper macro for easily consuming calls that come from a call handler Example usage:

Structs

Created by a telephone center, it can be used to make calls to it, its cloneable
The telephone center can be used to handle calls coming from callees (phones)

Traits

Trait defining the call enum for a given call center
Usually implemented automatically, when done so, it signifies that an operation is callable on the given call center
Describes a telephone operation An operation can be callable on multiple call centers