pub struct DevDistributorSource { /* private fields */ }Expand description
Serves packs/components directly from a local directory tree.
Implementations§
Trait Implementations§
Source§impl DistributorSource for DevDistributorSource
impl DistributorSource for DevDistributorSource
fn fetch_pack( &self, pack_id: &PackId, version: &Version, ) -> Result<Vec<u8>, DistributorError>
fn fetch_component( &self, component_id: &ComponentId, version: &Version, ) -> Result<Vec<u8>, DistributorError>
Auto Trait Implementations§
impl Freeze for DevDistributorSource
impl RefUnwindSafe for DevDistributorSource
impl Send for DevDistributorSource
impl Sync for DevDistributorSource
impl Unpin for DevDistributorSource
impl UnwindSafe for DevDistributorSource
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more