macro_rules! define_asref_dyn_std_error { { $ty:ty } => { ... }; }
Expand description
Defines AsRef<dyn StdError + 'static>
for a type implementing StdError
This trivial AsRef
impl enables use of tor_error::Report
.
macro_rules! define_asref_dyn_std_error { { $ty:ty } => { ... }; }
Defines AsRef<dyn StdError + 'static>
for a type implementing StdError
This trivial AsRef
impl enables use of tor_error::Report
.