pub trait MarkedAsSerializableInIdl {
// Required method
fn assert_serializable();
}Expand description
A marker to ensure that the [Serializable] attribute is present on
types that can be serialized. This trait should not be implemented manually.
Required Methods§
Sourcefn assert_serializable()
fn assert_serializable()
Used to define compile-time assertions about the type implementing this trait.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".