1 2 3 4 5 6 7 8 9 10 11 12
// SPDX-FileCopyrightText: 2026 ReallyMe LLC // SPDX-License-Identifier: MIT OR Apache-2.0 //! Key codec traits for repository-owned encoders. use bytes::Bytes; /// Encodes a typed key into FoundationDB tuple bytes. pub trait KeyEncoder { /// Returns the encoded key. fn encode_key(&self) -> Bytes; }