pub struct PrepareForLeakDetection {
pub method: PrepareForLeakDetectionMethod,
pub params: PrepareForLeakDetectionParams,
}Expand description
Prepares for leak detection by terminating workers, stopping spellcheckers, dropping non-essential internal caches, running garbage collections, etc. prepareForLeakDetection
Fields§
§method: PrepareForLeakDetectionMethod§params: PrepareForLeakDetectionParamsImplementations§
Source§impl PrepareForLeakDetection
impl PrepareForLeakDetection
pub const IDENTIFIER: &'static str = "Memory.prepareForLeakDetection"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for PrepareForLeakDetection
impl Clone for PrepareForLeakDetection
Source§fn clone(&self) -> PrepareForLeakDetection
fn clone(&self) -> PrepareForLeakDetection
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 PrepareForLeakDetection
impl CommandResult for PrepareForLeakDetection
type Result = PrepareForLeakDetectionResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for PrepareForLeakDetection
impl Debug for PrepareForLeakDetection
Source§impl<'de> Deserialize<'de> for PrepareForLeakDetection
impl<'de> Deserialize<'de> for PrepareForLeakDetection
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<PrepareForLeakDetection> for BrowserProtocolCommands
impl From<PrepareForLeakDetection> for BrowserProtocolCommands
Source§fn from(v: PrepareForLeakDetection) -> Self
fn from(v: PrepareForLeakDetection) -> Self
Converts to this type from the input type.
Source§impl From<PrepareForLeakDetection> for Command
impl From<PrepareForLeakDetection> for Command
Source§fn from(v: PrepareForLeakDetection) -> Self
fn from(v: PrepareForLeakDetection) -> Self
Converts to this type from the input type.
Source§impl From<PrepareForLeakDetection> for MemoryCommands
impl From<PrepareForLeakDetection> for MemoryCommands
Source§fn from(v: PrepareForLeakDetection) -> Self
fn from(v: PrepareForLeakDetection) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PrepareForLeakDetection
impl PartialEq for PrepareForLeakDetection
Source§impl Serialize for PrepareForLeakDetection
impl Serialize for PrepareForLeakDetection
Source§impl TryFrom<BrowserProtocolCommands> for PrepareForLeakDetection
impl TryFrom<BrowserProtocolCommands> for PrepareForLeakDetection
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, <PrepareForLeakDetection as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <PrepareForLeakDetection as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for PrepareForLeakDetection
impl TryFrom<Command> for PrepareForLeakDetection
Source§impl TryFrom<MemoryCommands> for PrepareForLeakDetection
impl TryFrom<MemoryCommands> for PrepareForLeakDetection
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, <PrepareForLeakDetection as TryFrom<MemoryCommands>>::Error>
fn try_from( e: MemoryCommands, ) -> Result<Self, <PrepareForLeakDetection as TryFrom<MemoryCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for PrepareForLeakDetection
Auto Trait Implementations§
impl Freeze for PrepareForLeakDetection
impl RefUnwindSafe for PrepareForLeakDetection
impl Send for PrepareForLeakDetection
impl Sync for PrepareForLeakDetection
impl Unpin for PrepareForLeakDetection
impl UnsafeUnpin for PrepareForLeakDetection
impl UnwindSafe for PrepareForLeakDetection
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