pub struct FixtureSession { /* private fields */ }Expand description
Opaque execution authority for one immutable source bundle and one closed action list.
Test/QA only: not for shipped app sessions. Its Chrome runs with --no-sandbox because the
outer confinement (Seatbelt on macOS, AppContainer on Windows) confines the whole tree;
ordinary BrowserSession::launch never does.
Implementations§
Source§impl FixtureSession
impl FixtureSession
pub async fn launch( server: FixtureServer, intent: FixtureIntent, ) -> Result<Self, FixtureError>
pub fn attestation(&self) -> &FixtureAttestation
pub async fn run(self) -> Result<FixtureOutcome, FixtureError>
pub async fn run_with_cancel( self, cancellation: FixtureCancellation, ) -> Result<FixtureOutcome, FixtureRunFailure>
Trait Implementations§
Source§impl Drop for FixtureSession
impl Drop for FixtureSession
Auto Trait Implementations§
impl !RefUnwindSafe for FixtureSession
impl !UnwindSafe for FixtureSession
impl Forget for FixtureSession
impl Freeze for FixtureSession
impl Move for FixtureSession
impl Send for FixtureSession
impl Sync for FixtureSession
impl Unpin for FixtureSession
impl UnsafeUnpin for FixtureSession
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