pub struct ForciblyPurgeJavaScriptMemory {
pub method: ForciblyPurgeJavaScriptMemoryMethod,
pub params: ForciblyPurgeJavaScriptMemoryParams,
}Expand description
Simulate OomIntervention by purging V8 memory. forciblyPurgeJavaScriptMemory
Fields§
§method: ForciblyPurgeJavaScriptMemoryMethod§params: ForciblyPurgeJavaScriptMemoryParamsImplementations§
Source§impl ForciblyPurgeJavaScriptMemory
impl ForciblyPurgeJavaScriptMemory
pub fn builder() -> ForciblyPurgeJavaScriptMemoryBuilder
Source§impl ForciblyPurgeJavaScriptMemory
impl ForciblyPurgeJavaScriptMemory
pub const IDENTIFIER: &'static str = "Memory.forciblyPurgeJavaScriptMemory"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for ForciblyPurgeJavaScriptMemory
impl Clone for ForciblyPurgeJavaScriptMemory
Source§fn clone(&self) -> ForciblyPurgeJavaScriptMemory
fn clone(&self) -> ForciblyPurgeJavaScriptMemory
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 CommandResult for ForciblyPurgeJavaScriptMemory
impl CommandResult for ForciblyPurgeJavaScriptMemory
type Result = ForciblyPurgeJavaScriptMemoryResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl<'de> Deserialize<'de> for ForciblyPurgeJavaScriptMemory
impl<'de> Deserialize<'de> for ForciblyPurgeJavaScriptMemory
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
Source§impl From<ForciblyPurgeJavaScriptMemory> for BrowserProtocolCommands
impl From<ForciblyPurgeJavaScriptMemory> for BrowserProtocolCommands
Source§fn from(v: ForciblyPurgeJavaScriptMemory) -> Self
fn from(v: ForciblyPurgeJavaScriptMemory) -> Self
Converts to this type from the input type.
Source§impl From<ForciblyPurgeJavaScriptMemory> for Command
impl From<ForciblyPurgeJavaScriptMemory> for Command
Source§fn from(v: ForciblyPurgeJavaScriptMemory) -> Self
fn from(v: ForciblyPurgeJavaScriptMemory) -> Self
Converts to this type from the input type.
Source§impl From<ForciblyPurgeJavaScriptMemory> for MemoryCommands
impl From<ForciblyPurgeJavaScriptMemory> for MemoryCommands
Source§fn from(v: ForciblyPurgeJavaScriptMemory) -> Self
fn from(v: ForciblyPurgeJavaScriptMemory) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ForciblyPurgeJavaScriptMemory
impl PartialEq for ForciblyPurgeJavaScriptMemory
Source§fn eq(&self, other: &ForciblyPurgeJavaScriptMemory) -> bool
fn eq(&self, other: &ForciblyPurgeJavaScriptMemory) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<BrowserProtocolCommands> for ForciblyPurgeJavaScriptMemory
impl TryFrom<BrowserProtocolCommands> for ForciblyPurgeJavaScriptMemory
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <ForciblyPurgeJavaScriptMemory as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <ForciblyPurgeJavaScriptMemory as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<MemoryCommands> for ForciblyPurgeJavaScriptMemory
impl TryFrom<MemoryCommands> for ForciblyPurgeJavaScriptMemory
Source§type Error = MemoryCommands
type Error = MemoryCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: MemoryCommands,
) -> Result<Self, <ForciblyPurgeJavaScriptMemory as TryFrom<MemoryCommands>>::Error>
fn try_from( e: MemoryCommands, ) -> Result<Self, <ForciblyPurgeJavaScriptMemory as TryFrom<MemoryCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for ForciblyPurgeJavaScriptMemory
Auto Trait Implementations§
impl Freeze for ForciblyPurgeJavaScriptMemory
impl RefUnwindSafe for ForciblyPurgeJavaScriptMemory
impl Send for ForciblyPurgeJavaScriptMemory
impl Sync for ForciblyPurgeJavaScriptMemory
impl Unpin for ForciblyPurgeJavaScriptMemory
impl UnsafeUnpin for ForciblyPurgeJavaScriptMemory
impl UnwindSafe for ForciblyPurgeJavaScriptMemory
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