pub trait PreSealGuard: Send + Sync {
// Required method
fn ensure_current<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
// Provided method
fn current_browser_binding<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Option<BrowserRequestBinding>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait { ... }
}Expand description
Revalidates external resolution authority immediately before envelope construction and sealing.
Required Methods§
fn ensure_current<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Provided Methods§
Sourcefn current_browser_binding<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Option<BrowserRequestBinding>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn current_browser_binding<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Option<BrowserRequestBinding>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
A browser guard may supply a fresh projection of its unchanged anchor. The result belongs to this request only; legacy guards are unchanged.