pub trait IntoState {
// Required method
fn into_state(self) -> State;
}Expand description
Conversion into a Jev State, letting crate::Client::system_one accept
plain strings, structured objects, arrays, or a ready-made State —
mirroring the Python SDK’s str | dict | list state parameter.
(A blanket From<&str> for State cannot be provided because both types
are foreign to this crate.)
Required Methods§
Sourcefn into_state(self) -> State
fn into_state(self) -> State
Convert into the wire State type.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".