pub trait MarkedAsTransferableInIdl {
// Required method
fn assert_transferable();
}Expand description
A marker to ensure that the [Transferable] attribute is present on
types that can be transferred. This trait should not be implemented manually.
Required Methods§
Sourcefn assert_transferable()
fn assert_transferable()
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".