Expand description
Enum wrappers to be able to select different channel implementations at runtime.
ModulesΒ§
- callback π
- Generic Callbacks
StructsΒ§
- Generic
Callback - A mechanism to run a callback in the process this callback was constructed in.
- Generic
Receiver - Generic
Receiver πVisitor - Generic
Sender - A GenericSender that sends messages to a GenericReceiver.
- Generic
Sender πVisitor
EnumsΒ§
- Generic
Receiver πVariants - Generic
Sender πVariants - The actual GenericSender variant.
- Receive
Error - Send
Error - TryReceive
Error
TraitsΒ§
- Generic
Send - Abstraction of the ability to send a particular type of message cross-process. This can be used to ease the use of GenericSender sub-fields.
FunctionsΒ§
- channel
- Creates a Servo channel that can select different channel implementations based on multiprocess mode or not. If the scenario doesnβt require message to pass process boundary, a simple crossbeam channel is preferred.
- new_
generic_ πchannel_ crossbeam - Private helper function to create a crossbeam based channel.
- new_
generic_ πchannel_ ipc - to_
receive_ result