Trait ariadne::Cache[][src]

pub trait Cache<Id: ?Sized> {
    fn fetch(&mut self, id: &Id) -> Result<&Source, Box<dyn Debug>>;
fn display<'a>(&self, id: &'a Id) -> Option<Box<dyn Display + 'a>>; }

Required methods

Display the given ID.

Implementors