Module channel

Module channel 

Source
Expand description

Support for use of abstract communication channels within a runtime context.

This module define the abstract traits that can be implemented by a runtime context to support message-passing concurrency. This provides similar functionalities as the Rust channel types defined in std::sync::mpsc::channel.

Structs§

ChannelCreatorComponent
ChannelTypeComponent
ChannelUserComponent
ReceiverStreamerComponent
SenderClonerComponent

Traits§

CanCloneSender
CanCreateChannels
Allow the creation of new sender-receiver pairs for the channel types defined in HasChannelTypes.
CanStreamReceiver
CanUseChannels
Allow the sending and receiving of message payloads over the Sender and Receiver ends of a channel.
ChannelCreator
Allow the creation of new sender-receiver pairs for the channel types defined in HasChannelTypes.
ChannelUser
Allow the sending and receiving of message payloads over the Sender and Receiver ends of a channel.
HasChannelTypes
Provides the abstract Sender and Receiver types for messsage-passing.
ProvideChannelType
Provides the abstract Sender and Receiver types for messsage-passing.
ReceiverStreamer
SenderCloner