pub enum ResolutionResult {
Success(Substitution),
Failure,
Error(String),
}Expand description
The outcome of resolving a query.
Variants§
Success(Substitution)
A successful substitution answering the query.
Failure
The query has no solution.
Error(String)
An error occurred during resolution (e.g., depth limit exceeded).
Trait Implementations§
Source§impl Clone for ResolutionResult
impl Clone for ResolutionResult
Source§fn clone(&self) -> ResolutionResult
fn clone(&self) -> ResolutionResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ResolutionResult
impl RefUnwindSafe for ResolutionResult
impl Send for ResolutionResult
impl Sync for ResolutionResult
impl Unpin for ResolutionResult
impl UnsafeUnpin for ResolutionResult
impl UnwindSafe for ResolutionResult
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