Skip to main content

LendTo

Trait LendTo 

Source
pub trait LendTo: Clone {
    // Provided method
    fn lend_to<T>(
        &mut self,
        borrower: Borrower<Self>,
    ) -> impl Future<Output = T> { ... }
}

Provided Methods§

Source

fn lend_to<T>(&mut self, borrower: Borrower<Self>) -> impl Future<Output = T>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T: Clone> LendTo for T