pub trait ById {
    type Id;
    type Entry;
    type Error;

    fn byid(&self, t: Self::Id) -> Result<&Self::Entry, Self::Error>;
    fn byid_mut(&mut self, t: Self::Id) -> Result<&mut Self::Entry, Self::Error>;
}

Required Associated Types

Required Methods

Implementors