pub enum TestsResult {
Resolved(TestsModel),
Ambiguous(Vec<String>),
MemberAmbiguous(Vec<MemberCandidate>),
NotFound,
}Expand description
The outcome of a tests query: resolved, ambiguous, or not found.
Variants§
Resolved(TestsModel)
Represents Resolved.
Ambiguous(Vec<String>)
Represents Ambiguous.
MemberAmbiguous(Vec<MemberCandidate>)
The seed named a member declared by more than one type – tests
answers as the member’s unique declaring type, so this can only ever
arise from a member seed.
NotFound
Represents NotFound.
Trait Implementations§
Source§impl Clone for TestsResult
impl Clone for TestsResult
Source§impl Debug for TestsResult
impl Debug for TestsResult
Source§impl PartialEq for TestsResult
impl PartialEq for TestsResult
impl StructuralPartialEq for TestsResult
Auto Trait Implementations§
impl Freeze for TestsResult
impl RefUnwindSafe for TestsResult
impl Send for TestsResult
impl Sync for TestsResult
impl Unpin for TestsResult
impl UnsafeUnpin for TestsResult
impl UnwindSafe for TestsResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more