pub trait IntoSubValue {
fn try_bytes<E>(self, f: fn() -> E) -> Result<Vec<u8>, E>;
fn try_i64<E>(self, f: fn() -> E) -> Result<i64, E>;
fn try_dict<E>(
self,
_: fn() -> E
) -> Result<BTreeMap<HashableValue, Value>, E>
where
Self: Sized,
{ ... }
fn try_list<E>(self, _: fn() -> E) -> Result<Vec<Value>, E>
where
Self: Sized,
{ ... }
}