gpui: Relax AssetLogger trait bounds (#29450)

Loosen trait bounds from `std::error::Error` to `std::fmt::Display`,
since it's not required for the `log::error!` macro or any other bounds.

Specify that `AssetLogger` specifically logs errors in its
documentation.

Use the `futures::TryFutureExt` trait extension to use `inspect_err`
directly on a future.

Release Notes:

- N/A
fde1cc78a1tidely committed on 4/29/2025, 7:43:54 PM· committed by GitHubparentf2813f6
1 file changedLine totals unavailable