pub enum Resolution<K, D: Protocol> {
Found {
key: K,
recipient: Recipient<D>,
},
Missing {
key: K,
},
}Expand description
Complete factual result returned by Resolver.
Variants§
Found
The key resolved to this typed recipient.
Missing
No configured binding names the key.
Fields
§
key: KQueried key.
Auto Trait Implementations§
impl<K, D> Freeze for Resolution<K, D>
impl<K, D> RefUnwindSafe for Resolution<K, D>
impl<K, D> Send for Resolution<K, D>
impl<K, D> Sync for Resolution<K, D>
impl<K, D> Unpin for Resolution<K, D>
impl<K, D> UnsafeUnpin for Resolution<K, D>
impl<K, D> UnwindSafe for Resolution<K, D>
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