pub trait Proxy_ProxyInterface: Send + Sync {
type DescribeResponseFut: Future<Output = Result<ProxyDescription, Error>> + Send;
type OpenSessionResponseFut: Future<Output = Result<ProxyOpenSessionResult, Error>> + Send;
// Required methods
fn describe(&self) -> Self::DescribeResponseFut;
fn open_session(
&self,
context: &RunContext,
mode: SessionMode,
expectations: &Expectations,
allowlist: &[AccessRule],
session: ServerEnd<SessionMarker>,
) -> Self::OpenSessionResponseFut;
}Required Associated Types§
type DescribeResponseFut: Future<Output = Result<ProxyDescription, Error>> + Send
type OpenSessionResponseFut: Future<Output = Result<ProxyOpenSessionResult, Error>> + Send
Required Methods§
fn describe(&self) -> Self::DescribeResponseFut
fn open_session( &self, context: &RunContext, mode: SessionMode, expectations: &Expectations, allowlist: &[AccessRule], session: ServerEnd<SessionMarker>, ) -> Self::OpenSessionResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".