radixdlt-scrypto
radixdlt-scrypto copied to clipboard
Conflict between AvlTree and Instant
When using a AvlTree that contains and Instant, I get the following error:
the trait bound scrypto::prelude::Instant: std::cmp::Ord
is not satisfied [E0277]
the trait std::cmp::Ord
is not implemented for scrypto::prelude::Instant
Note: required by a bound in scrypto_avltree::AvlTree
the trait bound scrypto::prelude::Instant: std::hash::Hash
is not satisfied [E0277]
the trait std::hash::Hash
is not implemented for scrypto::prelude::Instant
Note: required by a bound in scrypto_avltree::AvlTree
radix_engine_common::time::instant
pub struct Instant