Skip to main content

LessorProxyInterface

Trait LessorProxyInterface 

Source
pub trait LessorProxyInterface: Send + Sync {
    type LeaseResponseFut: Future<Output = Result<LessorLeaseResult, Error>> + Send;

    // Required method
    fn lease(&self, level: u8) -> Self::LeaseResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn lease(&self, level: u8) -> Self::LeaseResponseFut

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§