pub struct Data<K, T> {
pub key: K,
pub value: Rc<T>,
}Expand description
A successful value and the key that actually produced it.
Fields§
§key: K§value: Rc<T>Trait Implementations§
Auto Trait Implementations§
impl<K, T> !Send for Data<K, T>
impl<K, T> !Sync for Data<K, T>
impl<K, T> Freeze for Data<K, T>
impl<K, T> RefUnwindSafe for Data<K, T>
impl<K, T> Unpin for Data<K, T>
impl<K, T> UnsafeUnpin for Data<K, T>
impl<K, T> UnwindSafe for Data<K, T>
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