Module traits

Module traits 

Source
Expand description

Session traits for testability and middleware injection.

SessionWriter — write-side: send commands without owning the full handle. SessionReader — read-side: subscribe to events and observe phase.

Traits§

SessionReader
Read-side of a session — subscribe to events and observe phase.
SessionWriter
Write-side of a session — send commands without owning the full handle.