pub(crate) enum JoinResult<'a, Key, Val, We, B, L> {
Filled(Option<Arc<Placeholder<Val>>>),
Guard(PlaceholderGuard<'a, Key, Val, We, B, L>),
Timeout,
}Expand description
Result of waiting for a placeholder or JoinFuture.
Variants§
Filled(Option<Arc<Placeholder<Val>>>)
Value is available — either found directly in the cache (None) or
inside the shared placeholder (Some).
Guard(PlaceholderGuard<'a, Key, Val, We, B, L>)
Got the guard — caller should load the value.
Timeout
Timed out waiting (sync paths only).
Auto Trait Implementations§
impl<'a, Key, Val, We, B, L> Freeze for JoinResult<'a, Key, Val, We, B, L>
impl<'a, Key, Val, We, B, L> RefUnwindSafe for JoinResult<'a, Key, Val, We, B, L>
impl<'a, Key, Val, We, B, L> Send for JoinResult<'a, Key, Val, We, B, L>
impl<'a, Key, Val, We, B, L> Sync for JoinResult<'a, Key, Val, We, B, L>
impl<'a, Key, Val, We, B, L> Unpin for JoinResult<'a, Key, Val, We, B, L>
impl<'a, Key, Val, We, B, L> UnwindSafe for JoinResult<'a, Key, Val, We, B, L>
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