1use std::io; 2 3use crate::Record; 4 5/// A repository adapter. 6pub trait Adapter: Send + Sync { 7 /// Returns the record with the given name. 8 fn get(&mut self, name: &[u8]) -> Option<io::Result<Record>>; 9}