Trait cargo::core::registry::Registry [] [src]

pub trait Registry {
    fn query(
        &mut self,
        dep: &Dependency,
        f: &mut FnMut(Summary)
    ) -> CargoResult<()>; fn query_vec(&mut self, dep: &Dependency) -> CargoResult<Vec<Summary>> { ... }
fn supports_checksums(&self) -> bool { ... } }

Source of information about a group of packages.

See also core::Source.

Required Methods

Attempt to find the packages that match a dependency request.

Provided Methods

Returns whether or not this registry will return summaries with checksums listed.

By default, registries do not support checksums.

Implementations on Foreign Types

impl<'a, T: ?Sized + Registry + 'a> Registry for Box<T>
[src]

[src]

[src]

[src]

Implementors