Trait ClassPath

Source
pub trait ClassPath {
    // Required method
    fn find_class(&self, binary_name: &str) -> Result<Class, Error>;
}
Expand description

A class path that can be searched for classes.

Required Methods§

Source

fn find_class(&self, binary_name: &str) -> Result<Class, Error>

Find a class by its binary name.

§Errors

See Error.

Implementors§

Source§

impl ClassPath for DirectoryClassPath

Source§

impl ClassPath for JarClassPath

Available on crate feature jar only.
Source§

impl ClassPath for NopClassPath

Source§

impl<T> ClassPath for T
where T: Deref, <T as Deref>::Target: ClassPath,