pub trait ToValue<'input> {
type Target;
// Required method
fn retrieve_from(
self,
pool: &ConstantPool<'input>
) -> Result<Self::Target, DecodeError>;
}
pub trait ToValue<'input> {
type Target;
// Required method
fn retrieve_from(
self,
pool: &ConstantPool<'input>
) -> Result<Self::Target, DecodeError>;
}