Skip to content

Prefix::keys method never fails #766

@ShadoySV

Description

@ShadoySV

Keys are just skipped if deserializating of its key or value fails.
That's because de_fn returns Result which implements Iterator as well and, being iterated, returns nothing in case of error value

.flat_map(move |kv| (de_fn)(store, &pk_name, kv).map(|(k, _)| Ok(k)));

Is it desired behavior?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions