pub struct ChromeForTestingManager { /* private fields */ }Implementations§
Source§impl ChromeForTestingManager
impl ChromeForTestingManager
Sourcepub fn new() -> Result<Self, Report<ChromeForTestingManagerError>>
pub fn new() -> Result<Self, Report<ChromeForTestingManagerError>>
§Errors
Returns an error if the current platform is unsupported or the cache directory cannot be determined or created.
Sourcepub async fn clear_cache(
&self,
) -> Result<(), Report<ChromeForTestingManagerError>>
pub async fn clear_cache( &self, ) -> Result<(), Report<ChromeForTestingManagerError>>
§Errors
Returns an error if the cache directory cannot be deleted or re-created.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ChromeForTestingManager
impl !RefUnwindSafe for ChromeForTestingManager
impl Send for ChromeForTestingManager
impl Sync for ChromeForTestingManager
impl Unpin for ChromeForTestingManager
impl UnsafeUnpin for ChromeForTestingManager
impl !UnwindSafe for ChromeForTestingManager
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