pub enum RegistryResult<K, D: Protocol> {
Found {
key: K,
recipient: Recipient<D>,
},
Missing {
key: K,
},
}Expand description
The complete lookup result returned by Registry.
Variants§
Found
The key was bound to this typed recipient when the lookup was folded.
Missing
No binding existed when the lookup was folded.
Fields
§
key: KTrait Implementations§
impl<K: Eq, D: Protocol> Eq for RegistryResult<K, D>
Auto Trait Implementations§
impl<K, D> Freeze for RegistryResult<K, D>
impl<K, D> RefUnwindSafe for RegistryResult<K, D>
impl<K, D> Send for RegistryResult<K, D>
impl<K, D> Sync for RegistryResult<K, D>
impl<K, D> Unpin for RegistryResult<K, D>
impl<K, D> UnsafeUnpin for RegistryResult<K, D>
impl<K, D> UnwindSafe for RegistryResult<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