[][src]Trait counterfeit_core::dispatcher::Dispatcher

pub trait Dispatcher {
    pub fn dispatch(
        &self,
        base_directory: impl AsRef<Path>,
        request: &Request<Body>
    ) -> Result<PathBuf, Error>; }

Required methods

pub fn dispatch(
    &self,
    base_directory: impl AsRef<Path>,
    request: &Request<Body>
) -> Result<PathBuf, Error>
[src]

Loading content...

Implementors

impl Dispatcher for DefaultDirDispatcher[src]

impl Dispatcher for DefaultFileDispatcher[src]

Loading content...