jonhoo / faktory-rs

Rust bindings for Faktory clients and workers
Apache License 2.0
205 stars 16 forks source link

Make `Failure` public #88

Open rustworthy opened 1 week ago

rustworthy commented 1 week ago

Users should be able to read Failure's fields.

There is also a field in that structure not covered just yet called remaining, meaning the number of remaining retry attempts.

We will probably want to implement #61 first, so that we can "force-push" failed jobs from retries set to sheduled set, then

jonhoo commented 1 week ago

That seems reasonable to me! Though let's make sure we set it to #[non_exhaustive].