pub trait IntoStateUpdateKindJson:
Into<StateUpdateKindJson>
+ PartialEq
+ Eq
+ PartialOrd
+ Ord
+ Debug
+ Clone {
type Error: Debug;
// Required method
fn try_from(raw: StateUpdateKindJson) -> Result<Self, Self::Error>;
}
Expand description
Trait for objects that can be converted to/from a StateUpdateKindJson
.
Required Associated Types§
Required Methods§
fn try_from(raw: StateUpdateKindJson) -> Result<Self, Self::Error>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.