pub struct BrowserAutomationGuard { /* private fields */ }Expand description
Guard that enforces browser-automation policy per
BrowserAutomationConfig.
Implementations§
Source§impl BrowserAutomationGuard
impl BrowserAutomationGuard
Sourcepub fn with_config(
config: BrowserAutomationConfig,
) -> Result<Self, BrowserAutomationError>
pub fn with_config( config: BrowserAutomationConfig, ) -> Result<Self, BrowserAutomationError>
Build a guard with explicit configuration.
Trait Implementations§
Source§impl Default for BrowserAutomationGuard
impl Default for BrowserAutomationGuard
Auto Trait Implementations§
impl Freeze for BrowserAutomationGuard
impl RefUnwindSafe for BrowserAutomationGuard
impl Send for BrowserAutomationGuard
impl Sync for BrowserAutomationGuard
impl Unpin for BrowserAutomationGuard
impl UnsafeUnpin for BrowserAutomationGuard
impl UnwindSafe for BrowserAutomationGuard
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