Mar 2025
24 Mon
25 Tue
26 Wed
27 Thu
28 Fri
1 Sat 11:00 AM – 02:00 PM IST
2 Sun
Dhruvin Gandhi
@dhruvin
Submitted Feb 20, 2025
If you don’t want to #[derive(Debug)]
, impl fmt::Display
, and impl error::Error
by hand, thistalk is for you!
fmt::Debug
https://doc.rust-lang.org/stable/core/fmt/trait.Debug.html
https://doc.rust-lang.org/stable/core/fmt/derive.Debug.html
fmt::Display
https://doc.rust-lang.org/stable/core/fmt/trait.Display.html
error::Error
https://doc.rust-lang.org/stable/core/error/trait.Error.html
thiserror::Error
https://docs.rs/thiserror/latest/thiserror/derive.Error.html
#[error]
#[from]
#[source]
#[backtrace]
Hosted by
{{ gettext('Login to leave a comment') }}
{{ gettext('Post a comment…') }}{{ errorMsg }}
{{ gettext('No comments posted yet') }}