pub trait LinkSource: Send + 'static {
type Link: Link + Send;
// Required method
fn next_link(
&mut self,
) -> impl Future<Output = Result<Attachment<Self::Link>>> + Send + '_;
}Required Associated Types§
Required Methods§
fn next_link( &mut self, ) -> impl Future<Output = Result<Attachment<Self::Link>>> + Send + '_
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.