Skip to content

spsc::Queue: add spsc::QueueView, similar to VecView#485

Closed
sosthene-nitrokey wants to merge 4 commits intorust-embedded:mainfrom
Nitrokey:spsc-view
Closed

spsc::Queue: add spsc::QueueView, similar to VecView#485
sosthene-nitrokey wants to merge 4 commits intorust-embedded:mainfrom
Nitrokey:spsc-view

Conversation

@sosthene-nitrokey
Copy link
Contributor

Similarly to #480, there are structs which keep the const generic N for backwards compatibility (Iter, IterMut, Producer, Consumer).

Drop must also be implemented on `VecView` for the cases wher the `VecView` is owned
even if it is `!Sized`.

This can happen when it is boxed.
This represent more clearly the role of the trait now that it's not used
to work around drop specialization.
@sosthene-nitrokey
Copy link
Contributor Author

Replaced by #496

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