Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ViewResponse should implement Send #29

Closed
cmbrandenburg opened this issue Apr 2, 2016 · 0 comments
Closed

ViewResponse should implement Send #29

cmbrandenburg opened this issue Apr 2, 2016 · 0 comments
Assignees
Labels
Milestone

Comments

@cmbrandenburg
Copy link
Collaborator

ViewRow contains an Rc<DatabaseName> as an optimization. However, this has the effect of making the ViewRow implement !Send. See #19 for more commentary.

I.e., the follow snippet causes a compile-time error:

fn f<T: Send>(_: T) {}
f(ViewResponse::Reduced(ReducedView {
    update_seq: None,
    value: 42,
}));
@cmbrandenburg cmbrandenburg self-assigned this Apr 2, 2016
@cmbrandenburg cmbrandenburg added this to the v0.1.1 milestone Apr 2, 2016
@cmbrandenburg cmbrandenburg added bug and removed blocker labels Apr 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant