Replies: 1 comment 1 reply
-
I added // cut
user_repository: Box<dyn UserRepositoryTrait + Send + Sync + 'a>,
specialist_repository: Box<dyn SpecialistRepositoryTrait + Send + Sync + 'a>,
working_day_repository: Box<dyn WorkingDayRepositoryTrait + Send + Sync + 'a>,
break_repository: Box<dyn BreakkRepositoryTrait + Send + Sync + 'a>,
assigned_service_repository: Box<dyn AssignedServiceRepositoryTrait + Send + Sync + 'a>,
appointment_repository: Box<dyn AppointmentRepositoryTrait + Send + Sync + 'a>,
// cut I have no idea if this is the correct solution, but it compiles and works as expected. If you can point me to a better solution, I'll be immensely grateful. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have such resolver
It shows pretty long error
Open long error message
The struct implementation looks like this
I was able to find a similar issue but don't know how to apply to my problem.
I know that this error was caused by this line of code
I use custom errors in all nested functions.
This is my
Cargo.toml
file (inside the spoiler)Cargo.toml
Beta Was this translation helpful? Give feedback.
All reactions