Skip to main content

Pack

Trait Pack 

Source
pub trait Pack: PackFs { }
Expand description

The pack trait is used to hold a package.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl Pack for GitHubReleasePack

Source§

impl Pack for MapPack

Source§

impl Pack for UniversePack

Source§

impl<P> Pack for DirPack<P>
where P: AsRef<Path>,

Source§

impl<P> Pack for GitClPack<P>
where P: AsRef<str>,

Source§

impl<R> Pack for TarballPack<R>
where R: Read,

Source§

impl<S> Pack for HttpPack<S>
where S: AsRef<str>,

Source§

impl<Src, F> Pack for FilterPack<'_, Src, F>
where Src: PackFs, F: Fn(&str) -> bool + Send + Sync,