pub struct ProdBrowserFacade {
workspace: Weak<Workspace>,
}Expand description
Production impl: the server’s fleet, and the workspace itself for the one tool that parks on the person rather than on the browser.
Fields§
§workspace: Weak<Workspace>Implementations§
Source§impl ProdBrowserFacade
impl ProdBrowserFacade
pub fn from_workspace(workspace: &Arc<Workspace>) -> Arc<dyn BrowserFacade> ⓘ
Trait Implementations§
Source§impl BrowserFacade for ProdBrowserFacade
impl BrowserFacade for ProdBrowserFacade
Source§fn call<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
seat: &'life1 SessionSlot,
tool: &'life2 str,
args: Value,
) -> Pin<Box<dyn Future<Output = Result<Vec<BrowserPart>, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn call<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
seat: &'life1 SessionSlot,
tool: &'life2 str,
args: Value,
) -> Pin<Box<dyn Future<Output = Result<Vec<BrowserPart>, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Run one browser tool through the server’s fleet, answering with the
parts it returned or the reason the call failed.
Source§fn hand_off<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
seat: &'life1 SessionSlot,
reason: &'life2 str,
tab: &'life3 str,
) -> Pin<Box<dyn Future<Output = Result<HandOffEnding, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn hand_off<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
seat: &'life1 SessionSlot,
reason: &'life2 str,
tab: &'life3 str,
) -> Pin<Box<dyn Future<Output = Result<HandOffEnding, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Ask the person at a client to act in one of the seat’s browser tabs,
and wait for their word.
tab is the page id the tool listed; the
fleet resolves it to the tab it raises. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for ProdBrowserFacade
impl !UnwindSafe for ProdBrowserFacade
impl Freeze for ProdBrowserFacade
impl Send for ProdBrowserFacade
impl Sync for ProdBrowserFacade
impl Unpin for ProdBrowserFacade
impl UnsafeUnpin for ProdBrowserFacade
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more