pub trait SyncChunkGet<const BODY_SIZE: usize = DEFAULT_BODY_SIZE> {
type Error: Error + Send + Sync + 'static;
// Required method
fn get(
&self,
address: &ChunkAddress,
) -> Result<AnyChunk<BODY_SIZE>, Self::Error>;
}Expand description
Retrieves chunks by address (synchronous).
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".