Trait casper_node::types::Item [−][src]
A trait which allows an implementing type to be used by the gossiper and fetcher components, and
furthermore allows generic network messages to include this type due to the provision of the
type-identifying TAG
.
Associated Types
type Id: Copy + Eq + Hash + Serialize + DeserializeOwned + Send + Sync + Debug + Display
[src]
The type of ID of the item.
Associated Constants
const TAG: Tag
[src]
The tag representing the type of the item.
const ID_IS_COMPLETE_ITEM: bool
[src]
Whether the item’s ID is the complete item or not.