Expand description
Holds the result of a lookup operation
Variants
None
There are definitively no possible matches
Exact(usize, Value)
We found an unambiguous match. The data is (length-of-match, value)
Ambiguous(usize, Value)
We found a match, but there are other longer matches that are possible. Ideally we’d accumulate more data to know for sure. The data is (length-of-shortest-match, value)
NeedData
If we had more data, we might match something
Trait Implementations
impl<Value: Eq> Eq for Found<Value>
impl<Value> StructuralEq for Found<Value>
impl<Value> StructuralPartialEq for Found<Value>
Auto Trait Implementations
impl<Value> RefUnwindSafe for Found<Value> where
Value: RefUnwindSafe,
impl<Value> Send for Found<Value> where
Value: Send,
impl<Value> Sync for Found<Value> where
Value: Sync,
impl<Value> Unpin for Found<Value> where
Value: Unpin,
impl<Value> UnwindSafe for Found<Value> where
Value: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more