Skip to content

impl Clone for RateLimit <T> #794

@lcmgh

Description

@lcmgh

ConcurrencyLimit <T> implements Clone here: https://docs.rs/tower/latest/src/tower/limit/concurrency/service.rs.html#96

RateLimit<T> does not https://docs.rs/tower/latest/src/tower/limit/rate/service.rs.html#14

Consequence: I am adding service specific layers by wrapping them into a new Service that auto-implements NamedService but as add_service requires clone the layer must also support it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions