pub enum PrefetchOutcome {
Hit,
Miss,
}Expand description
The result of one completed prefetch request.
Variants§
Hit
The requested unit was already available at the required tier.
Miss
The request required a transfer or load.
Trait Implementations§
Source§impl Clone for PrefetchOutcome
impl Clone for PrefetchOutcome
Source§fn clone(&self) -> PrefetchOutcome
fn clone(&self) -> PrefetchOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PrefetchOutcome
Source§impl Debug for PrefetchOutcome
impl Debug for PrefetchOutcome
Source§impl<'de> Deserialize<'de> for PrefetchOutcome
impl<'de> Deserialize<'de> for PrefetchOutcome
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PrefetchOutcome
Source§impl PartialEq for PrefetchOutcome
impl PartialEq for PrefetchOutcome
Source§impl Serialize for PrefetchOutcome
impl Serialize for PrefetchOutcome
impl StructuralPartialEq for PrefetchOutcome
Auto Trait Implementations§
impl Freeze for PrefetchOutcome
impl RefUnwindSafe for PrefetchOutcome
impl Send for PrefetchOutcome
impl Sync for PrefetchOutcome
impl Unpin for PrefetchOutcome
impl UnsafeUnpin for PrefetchOutcome
impl UnwindSafe for PrefetchOutcome
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