pub enum Answer {
Solution(Vec<Action>),
Error(Error),
}
Expand description
The answer returned from the external solver to APT upon completion of the dependency resolution process.
Variants§
Solution(Vec<Action>)
A list of stanzas describing the Action
s to be made to the set of installed packages
to satisfy the user’s request.
Error(Error)
A single Error
stanza reporting an error during the dependency resolution process.
Implementations§
Trait Implementations§
impl Eq for Answer
impl StructuralPartialEq for Answer
Auto Trait Implementations§
impl Freeze for Answer
impl RefUnwindSafe for Answer
impl Send for Answer
impl Sync for Answer
impl Unpin for Answer
impl UnwindSafe for Answer
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