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
Currently, the fs module uses extension traits to add functionality only available on some operating-systems. There has been some discussion in the past questioning whether this is the right direction.
Tokio should decide if std should be copied in this case or learn from std's experience. The alternative would be to add the functions directly on the types but guarded with operating system cfg flags.
The text was updated successfully, but these errors were encountered:
Instead of using OS specific extension traits, OS specific methods are
moved onto the structs themselves and guarded with `cfg`. The API
documentation should highlight the function is platform specific.
Closes#2925
Instead of using OS specific extension traits, OS specific methods are
moved onto the structs themselves and guarded with `cfg`. The API
documentation should highlight the function is platform specific.
Closes#2925
Currently, the
fs
module uses extension traits to add functionality only available on some operating-systems. There has been some discussion in the past questioning whether this is the right direction.Tokio should decide if
std
should be copied in this case or learn fromstd
's experience. The alternative would be to add the functions directly on the types but guarded with operating system cfg flags.The text was updated successfully, but these errors were encountered: