Closed LeonarddeR closed 1 month ago
cc @sivadeilra
I think we could handle this by forwarding the Debug impl from the outer object to the inner. I'll look into it.
Depending on your use case, you may be able to just dereference the object to get to the inner object. e.g.:
debug!("my object = {:?}", *self);
Summary
I was trying to update to version 0.58, and according to the release notes, it felt as simple as replacing something like
impl IClassFactory_Impl for ClassFactory
intoimpl IClassFactory_Impl for ClassFactory_Impl
. However, I have#[derive(Debug)]
on my struct since I want to use theinstrument
macro from thetracing
crate. Therefore I'd prefer to derive debug onClassFactory_Impl
.Crate manifest
Crate code
No response