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
There's a desire to update the serial-settings crate to borrow the settings structure mutably when processing I/O.
There's some difficulties with figuring out how to manage this, as we need to then pipe the Settings borrowed item into the menuContext object.
However, because the Settings structure will be borrowed for some run-time lifetime (i.e. unknown and not 'static), this presents difficulties with the current approach as the Context structure cannot possible own the borrowed Settings type due to the not-concrete Settings borrow lifetime.
I'll investigate some potential approaches to resolve this.
The text was updated successfully, but these errors were encountered:
There's a desire to update the
serial-settings
crate to borrow the settings structure mutably when processing I/O.There's some difficulties with figuring out how to manage this, as we need to then pipe the
Settings
borrowed item into themenu
Context
object.However, because the
Settings
structure will be borrowed for some run-time lifetime (i.e. unknown and not'static
), this presents difficulties with the current approach as theContext
structure cannot possible own the borrowedSettings
type due to the not-concreteSettings
borrow lifetime.I'll investigate some potential approaches to resolve this.
The text was updated successfully, but these errors were encountered: