Skip to main content

BirthProtocols

Trait BirthProtocols 

Source
pub trait BirthProtocols: Behavior {
    type Protocols: BirthProtocolProduct;
}
Expand description

Closed static projection of a behavior’s own protocol and every protocol reachable through its transitive staged-birth algebra.

This is structural information derived from Behavior::Birth. It makes no hosting or allocation decision and does not inspect send destinations.

Required Associated Types§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<B> BirthProtocols for B
where B: Behavior, B::Birth: BirthModeProtocols,

Source§

type Protocols = BirthProtocol<<B as Behavior>::Protocol, <<B as Behavior>::Birth as BirthModeProtocols>::Protocols>