You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While implementing a trait it seems that config should not be an associated type after all
I think IntoMonitoring trait or something like that will be more reasonable to store all creation information in configuration objects (effectively making them a factories).
As for a global configuration I'm considering either enum with all possible configuration types or a registry, which will allow (non-existent) users their own monitorings
I need to separate monitoring configuration from it's actual internal structure.
Sounds very much like a trait to me, with configuration as related type. and method (
new
?) accepting a value of that type.The text was updated successfully, but these errors were encountered: