Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Splittable trait#643

Open
shimunn wants to merge 1 commit into
rust-embedded:master from
shimunn:splittable
Open

Splittable trait #643
shimunn wants to merge 1 commit into
rust-embedded:master from
shimunn:splittable

Conversation

@shimunn

@shimunn shimunn commented Jan 11, 2025

Copy link
Copy Markdown

Adds splittable trait, signifying that the implementor can be split into an read and write instance

@shimunn shimunn requested a review from a team as a code owner January 11, 2025 23:43

MabezDev commented Feb 7, 2025

Copy link
Copy Markdown
Member

Do you have a particular use case in mind for this trait? Would it not be better to structure your code in a way to accept the read and write halves separately instead of splitting once the full driver has been passed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /