pub struct UnitPrefetch {
pub origin: PrefetchOrigin,
pub started_at_ms: u64,
pub delivered_at_ms: u64,
pub compressed_bytes: u64,
pub timing: PrefetchTiming,
}Expand description
A speculative download that delivered a unit’s key in the same session.
Fields§
§origin: PrefetchOriginPlan, source and candidate rank that scheduled the download.
started_at_ms: u64When the GET started. A packed entry reports its pack’s GET.
delivered_at_ms: u64When the entry finished importing into the local store.
compressed_bytes: u64§timing: PrefetchTimingTrait Implementations§
Source§impl Clone for UnitPrefetch
impl Clone for UnitPrefetch
Source§impl Debug for UnitPrefetch
impl Debug for UnitPrefetch
Source§impl Default for UnitPrefetch
impl Default for UnitPrefetch
Source§impl<'de> Deserialize<'de> for UnitPrefetch
impl<'de> Deserialize<'de> for UnitPrefetch
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 UnitPrefetch
Source§impl PartialEq for UnitPrefetch
impl PartialEq for UnitPrefetch
Source§impl Serialize for UnitPrefetch
impl Serialize for UnitPrefetch
impl StructuralPartialEq for UnitPrefetch
Auto Trait Implementations§
impl Freeze for UnitPrefetch
impl RefUnwindSafe for UnitPrefetch
impl Send for UnitPrefetch
impl Sync for UnitPrefetch
impl Unpin for UnitPrefetch
impl UnsafeUnpin for UnitPrefetch
impl UnwindSafe for UnitPrefetch
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