Enum cosmwasm_std::Never
source · pub enum Never {}
Expand description
Never can never be instantiated. This can be used in places
where we want to ensure that no error is returned, such as
the ibc_packet_receive
entry point.
In contrast to Empty
, this does not have a JSON schema
and cannot be used for message and query types.
Once the ! type is stable, this is not needed anymore. See https://github.com/rust-lang/rust/issues/35121.