pub struct Call<V> {
pub val: V,
pub shared: bool,
}Expand description
The result of a singleflight call.
val is the value produced by the executed function.
shared is true when this caller received a result that was computed
by another caller rather than executing the function itself.
Fields§
§val: VTrait Implementations§
impl<V: Eq> Eq for Call<V>
impl<V> StructuralPartialEq for Call<V>
Auto Trait Implementations§
impl<V> Freeze for Call<V>where
V: Freeze,
impl<V> RefUnwindSafe for Call<V>where
V: RefUnwindSafe,
impl<V> Send for Call<V>where
V: Send,
impl<V> Sync for Call<V>where
V: Sync,
impl<V> Unpin for Call<V>where
V: Unpin,
impl<V> UnsafeUnpin for Call<V>where
V: UnsafeUnpin,
impl<V> UnwindSafe for Call<V>where
V: UnwindSafe,
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