Skip to main content

Proxy_ProxyInterface

Trait Proxy_ProxyInterface 

Source
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§

Required Methods§

Source

fn describe(&self) -> Self::DescribeResponseFut

Source

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".

Implementors§