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

Add variant of LocalPool with bound lifetime #2846

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Mar 28, 2024

  1. Add BoundLocalPool and BoundLocalSpawner

    Adds derivatives of LocalPool and BoundLocalSpawner with a generic
    lifetime parameter that replaces the previously used 'static, and
    aliases both types with a 'static parameter to the originals.
    
    Add a BoundLocalSpawn trait in a similar fashion. At the same time
    simplify the implementation of Spawn, LocalSpawn and BoundLocalSpawn to
    just work on any type implementing Deref to a type implementing a spawn
    trait.
    haroldbruintjes committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    037ab88 View commit details
    Browse the repository at this point in the history