// SPDX-License-Identifier: Apache-2.0
usecrate::Value;/// Trait to a key-value storage mechanism
pubtraitPairs{/// get a value associated with the key
fnget(&self, key:&str)->Option<Value>;/// add a key-value pair to the storage, returns the previous value if the
/// key already exists in the data structure
fnput(&mutself, key:&str, value:&Value)->Option<Value>;}