pub struct ConduitContext {
pub api: Arc<ConduitAPI>,
pub store: Arc<Store>,
pub downloader: Arc<Downloader>,
pub resolver: Arc<Resolver>,
pub manifest: RwLock<Manifest>,
pub lockfile: RwLock<Lockfile>,
pub includefile: RwLock<ConduitInclude>,
pub paths: ConduitPaths,
}Fields§
§api: Arc<ConduitAPI>§store: Arc<Store>§downloader: Arc<Downloader>§resolver: Arc<Resolver>§manifest: RwLock<Manifest>§lockfile: RwLock<Lockfile>§includefile: RwLock<ConduitInclude>§paths: ConduitPathsImplementations§
Source§impl ConduitContext
impl ConduitContext
pub fn new( paths: ConduitPaths, manifest: Manifest, lockfile: Lockfile, includefile: ConduitInclude, ) -> Self
Auto Trait Implementations§
impl !Freeze for ConduitContext
impl !RefUnwindSafe for ConduitContext
impl Send for ConduitContext
impl Sync for ConduitContext
impl Unpin for ConduitContext
impl UnsafeUnpin for ConduitContext
impl !UnwindSafe for ConduitContext
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