pub trait Cw721CustomMsg:
Serialize
+ Clone
+ Debug
+ PartialEq
+ JsonSchema { }Expand description
This is an exact copy of CustomMsg, since implementing a trait for a type from another crate is not possible.
Possible:
impl<T> Cw721CustomMsg for Option<T> where T: Cw721CustomMsg {}
Not possible:
impl<T> CustomMsg for Option<T> where T: CustomMsg {}
This will be removed once the CustomMsg trait is moved to the cosmwasm_std crate: https://github.com/CosmWasm/cosmwasm/issues/2056
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".