linebender / linebender/piet

Error type Send/Sync?

Open
#90 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

discussion
Dominant language
Rust
Stars
1.4k
Forks
98
PR merge metrics
No merged PRs in 30d

Description

I'm trying to send an error across threads, but there is no Send/Sync trait bound on BackendError, so I can't. Is there a better way to handle this? For now I'm just unwrapping these errors.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate BackendError and inspect its current trait bounds and error variants. Determine the intended way to handle these errors across threads, then confirm the expected behavior with the maintainers before defining a change.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
backend-api-design
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.