pub enum TuneCacheResult {
Hit {
fastest_index: usize,
},
Unchecked,
Pending,
Miss,
}
Expand description
Result of the cache try
Variants§
Hit
An operation is found.
Unchecked
The operation might be cached, but we don’t know yet whether the checksum is valid.
Pending
We don’t know yet what is fastest, but are waiting for a result to come in.
Miss
No operation is found yet.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TuneCacheResult
impl RefUnwindSafe for TuneCacheResult
impl Send for TuneCacheResult
impl Sync for TuneCacheResult
impl Unpin for TuneCacheResult
impl UnwindSafe for TuneCacheResult
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