Skip to content

Conversation

@Carter12s
Copy link
Collaborator

Description

Changes ServiceFn error type to anyhow::Error. This was the only effective way I found to work around significant lifetime issues where Rust would get confused about whether a given closure/future was Box<dyn Error + Send + Sync> or Box<dyn Error + Send + Sync + 'static>.

Fixes

Closes: #262

Checklist

  • Update CHANGELOG.md

@Carter12s Carter12s merged commit 32e95cc into master Oct 8, 2025
7 checks passed
@Carter12s Carter12s deleted the fix-service-fn-lifetime branch January 26, 2026 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Need to look at ros service type bounds and consider adding 'static

2 participants