pub trait OfferExt<P: HasDual, E> {
type C: RawChan;
type OfferChan;
type OfferFuture: Future<Output = Result<Self::OfferChan, Error>> + 'static
where Self: 'static;
// Required method
fn offer(self) -> Self::OfferFuture;
}Required Associated Types§
type C: RawChan
type OfferChan
type OfferFuture: Future<Output = Result<Self::OfferChan, Error>> + 'static where Self: 'static
Required Methods§
fn offer(self) -> Self::OfferFuture
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".