pub struct LogClient { /* private fields */ }Expand description
Client for Log domain commands.
Implementations§
Source§impl LogClient
impl LogClient
Sourcepub async fn disable(&self, session_id: Option<&str>) -> Result<Value, CdpError>
pub async fn disable(&self, session_id: Option<&str>) -> Result<Value, CdpError>
Disables log domain, prevents further log entries from being reported to the client.
Sourcepub async fn enable(&self, session_id: Option<&str>) -> Result<Value, CdpError>
pub async fn enable(&self, session_id: Option<&str>) -> Result<Value, CdpError>
Enables log domain, sends the entries collected so far to the client by means of the
entryAdded notification.
Sourcepub async fn start_violations_report(
&self,
params: StartViolationsReportParams,
session_id: Option<&str>,
) -> Result<Value, CdpError>
pub async fn start_violations_report( &self, params: StartViolationsReportParams, session_id: Option<&str>, ) -> Result<Value, CdpError>
start violation reporting.
Auto Trait Implementations§
impl Freeze for LogClient
impl !RefUnwindSafe for LogClient
impl Send for LogClient
impl Sync for LogClient
impl Unpin for LogClient
impl UnsafeUnpin for LogClient
impl !UnwindSafe for LogClient
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