pub trait LiveBootstrapHost: Send + Sync {
// Required method
fn register<'life0, 'async_trait>(
&'life0 self,
owner: RootActorRuntimeWrite,
proof: LiveBootstrapProof,
persistence: Arc<dyn RuntimeSessionPersistence>,
inbox: Arc<dyn SessionInboxPort>,
offer: LiveBootstrapOffer,
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Send>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
Host-only continuation of one still-live Anthropic bootstrap. The offer is produced by the provider and cannot be reconstructed from HTTP/history.
Required Methods§
Sourcefn register<'life0, 'async_trait>(
&'life0 self,
owner: RootActorRuntimeWrite,
proof: LiveBootstrapProof,
persistence: Arc<dyn RuntimeSessionPersistence>,
inbox: Arc<dyn SessionInboxPort>,
offer: LiveBootstrapOffer,
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Send>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn register<'life0, 'async_trait>(
&'life0 self,
owner: RootActorRuntimeWrite,
proof: LiveBootstrapProof,
persistence: Arc<dyn RuntimeSessionPersistence>,
inbox: Arc<dyn SessionInboxPort>,
offer: LiveBootstrapOffer,
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Send>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
The returned lifetime removes this exact offer when the provider future ends. Implementations must bind owner, persistence and offer gate.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".