pub trait RefReceiver<T> {
type Ref<'a>: Borrow<T>
where Self: 'a;
// Required method
fn ref_recv(&mut self) -> impl Future<Output = Option<Self::Ref<'_>>>;
}Required Associated Types§
Required Methods§
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.