Skip to content

We shouldn't implement AssetProvider for T: Satisfier #850

@apoelstra

Description

@apoelstra

If you have a satisfier, you should just call descriptor.satisfy() with it. There's no reason to call .plan() except if you have some extra knowledge about which keys are available (or not available) and want to save calls to your satisfier.

If you have a T: Satisfier and call descriptor.plan().satisfy() with it, you get the same result as if you'd called descriptor.satisfy() except that you lookup all your signatures twice.

cc @afilini

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