-
Notifications
You must be signed in to change notification settings - Fork 13.8k
Closed
Labels
C-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Description
io::Error
can't implement Clone
right now because it uses a trait object internally for custom errors. With #24133 adding the Sync
bound, it becomes possible to put io::Error
in Arc
. But it would still be nice to be able to Clone
it again, which could be accomplished by changing the private Box<Custom>
field to Arc<Custom>
instead.
glennpratt, lo48576, jminer, jasonwhite, gregwebs and 22 more
Metadata
Metadata
Assignees
Labels
C-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.