pub(crate) trait TryIntoStateUpdateKind: IntoStateUpdateKindJson {
type Error: Debug;
// Required method
fn try_into(
self,
) -> Result<StateUpdateKind, <Self as TryIntoStateUpdateKind>::Error>;
}
Expand description
Trait for objects that can be converted to/from a StateUpdateKind
.
Required Associated Types§
Required Methods§
fn try_into( self, ) -> Result<StateUpdateKind, <Self as TryIntoStateUpdateKind>::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.