Skip to content
ZOLO / TE842 Type · error

no direct From/TryFrom conversion implementation

`into::<T>()` requires a direct `impl From<Source> for T`, and `try_into::<T>()` requires a direct `impl TryFrom<Source> for T`. Zolo never invents a conversion chain through an intermediate type — implement the matching trait, or call the intended constructor explicitly.

Why this fires

into::<T>() requires a direct impl From<Source> for T, and try_into::<T>() requires a direct impl TryFrom<Source> for T. Zolo never invents a conversion chain through an intermediate type.

Fix it

Implement the matching trait on the destination type (or on the source type's package boundary), or call the intended constructor explicitly.

impl From<RawId> for UserId {
    fn from(value: RawId) -> UserId { return UserId { value: value.value } }
}

let id = raw.into::<UserId>()

Global index

Find your way through Zolo

Try an idea

Start here

9 results

9 results

enespt-br