pub struct IsolatedCargoLockResolver<G = CargoGenerateLockfile> { /* private fields */ }Implementations§
Source§impl<G> IsolatedCargoLockResolver<G>where
G: CargoLockGenerator,
impl<G> IsolatedCargoLockResolver<G>where
G: CargoLockGenerator,
pub fn new(generator: G) -> Self
pub fn resolve( &self, request: &CargoLockResolutionRequest, ) -> Result<CargoLockResolution, CargoLockResolutionError>
Trait Implementations§
Source§impl<G: Clone> Clone for IsolatedCargoLockResolver<G>
impl<G: Clone> Clone for IsolatedCargoLockResolver<G>
Source§fn clone(&self) -> IsolatedCargoLockResolver<G>
fn clone(&self) -> IsolatedCargoLockResolver<G>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<G: Debug> Debug for IsolatedCargoLockResolver<G>
impl<G: Debug> Debug for IsolatedCargoLockResolver<G>
Auto Trait Implementations§
impl<G> Freeze for IsolatedCargoLockResolver<G>where
G: Freeze,
impl<G> RefUnwindSafe for IsolatedCargoLockResolver<G>where
G: RefUnwindSafe,
impl<G> Send for IsolatedCargoLockResolver<G>where
G: Send,
impl<G> Sync for IsolatedCargoLockResolver<G>where
G: Sync,
impl<G> Unpin for IsolatedCargoLockResolver<G>where
G: Unpin,
impl<G> UnsafeUnpin for IsolatedCargoLockResolver<G>where
G: UnsafeUnpin,
impl<G> UnwindSafe for IsolatedCargoLockResolver<G>where
G: UnwindSafe,
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