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