Skip to content

Feature/duel channel alt - #3

Merged
zargad merged 3 commits into
mainfrom
feature/duel-channel-alt
Sep 13, 2025
Merged

Feature/duel channel alt#3
zargad merged 3 commits into
mainfrom
feature/duel-channel-alt

Conversation

@zargad

@zargad zargad commented Sep 13, 2025

Copy link
Copy Markdown
Owner

Add a trait that describes two channels at the same time, one for reading and one for writing.
Mainly now for boxing because Box<dyn Channel<A> + Channel<B>> is not allowed in rust, so this feature allows Box<dyn DuelChannel<A, B>>
This only works for the special case that you only need reading for one channel (Channel<A>) and writing for another (Channel<B>)

@zargad
zargad merged commit 1cc8b98 into main Sep 13, 2025
1 check passed
@zargad
zargad deleted the feature/duel-channel-alt branch September 13, 2025 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant