pub trait TryToInline<S: InlineEncoding> {
type Error;
// Required method
fn try_to_inline(self) -> Result<Inline<S>, Self::Error>;
}Expand description
Fallible variant of value conversion — T → Result<Inline<S>, Error>.
Kept as a standalone trait (not folded into IntoEncoded)
because the error type is part of the per-source/per-target contract.
Used for parses that can fail (e.g. &str → Hash<Blake3> via
hex-decoding).