trait MockableClientIntro: Debug {
type Conversation<'r>
where Self: 'r;
// Required method
fn m_start_conversation_last_hop<'life0, 'async_trait>(
&'life0 self,
msg: Option<AnyRelayMsg>,
reply_handler: impl 'async_trait + MsgHandler + Send + 'static,
) -> Pin<Box<dyn Future<Output = Result<Self::Conversation<'_>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
Mock for onion service client introduction tunnel.
Required Associated Types§
Sourcetype Conversation<'r>
where
Self: 'r
type Conversation<'r> where Self: 'r
Conversation
Required Methods§
Sourcefn m_start_conversation_last_hop<'life0, 'async_trait>(
&'life0 self,
msg: Option<AnyRelayMsg>,
reply_handler: impl 'async_trait + MsgHandler + Send + 'static,
) -> Pin<Box<dyn Future<Output = Result<Self::Conversation<'_>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn m_start_conversation_last_hop<'life0, 'async_trait>(
&'life0 self,
msg: Option<AnyRelayMsg>,
reply_handler: impl 'async_trait + MsgHandler + Send + 'static,
) -> Pin<Box<dyn Future<Output = Result<Self::Conversation<'_>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Converse
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.