Skip to main content

LeaseSource

Trait LeaseSource 

Source
pub trait LeaseSource: Send + Sync {
    // Required method
    fn current(&self) -> Option<RuntimeLeaseV1>;
}
Expand description

Where the current lease comes from.

Required Methods§

Source

fn current(&self) -> Option<RuntimeLeaseV1>

The lease to present now; None means not licensed.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§