pub struct ProduceCompilationCacheReturn {}Available on crate features
Page and Debugger and DOM and IO and Network and Runtime and experimental only.Expand description
Requests backend to produce compilation cache for the specified scripts.
Unlike setProduceCompilationCache, this allows client to only produce cache
for specific scripts. scripts are appeneded to the list of scripts
for which the cache for would produced. Disabling compilation cache with
setProduceCompilationCache would reset all pending cache requests.
The list may also be reset during page navigation.
When script with a matching URL is encountered, the cache is optionally
produced upon backend discretion, based on internal heuristics.
See also: Page.compilationCacheProduced.
Implementations§
Trait Implementations§
Source§impl Clone for ProduceCompilationCacheReturn
impl Clone for ProduceCompilationCacheReturn
Source§fn clone(&self) -> ProduceCompilationCacheReturn
fn clone(&self) -> ProduceCompilationCacheReturn
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for ProduceCompilationCacheReturn
impl Default for ProduceCompilationCacheReturn
Source§fn default() -> ProduceCompilationCacheReturn
fn default() -> ProduceCompilationCacheReturn
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProduceCompilationCacheReturn
impl<'de> Deserialize<'de> for ProduceCompilationCacheReturn
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
Auto Trait Implementations§
impl Freeze for ProduceCompilationCacheReturn
impl RefUnwindSafe for ProduceCompilationCacheReturn
impl Send for ProduceCompilationCacheReturn
impl Sync for ProduceCompilationCacheReturn
impl Unpin for ProduceCompilationCacheReturn
impl UnwindSafe for ProduceCompilationCacheReturn
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