pub trait Application<'d>: Decode {
type Duplex: Session<'d>;
const CONNECT: Connect = block::Connect::Disabled;
// Required method
fn try_open<B>(
&self,
req: Admitted<Duplex, Self::Prepared, B>,
) -> Result<(Self::Duplex, B), (OpenError<Self::Error<'d>>, B)>;
}Expand description
Exact duplex constructor consumed by multiplexed carriers.
Provided Associated Constants§
Required Associated Types§
Required Methods§
fn try_open<B>( &self, req: Admitted<Duplex, Self::Prepared, B>, ) -> Result<(Self::Duplex, B), (OpenError<Self::Error<'d>>, B)>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".