pub trait LeaseSource: Send + Sync {
// Required method
fn current(&self) -> Option<RuntimeLeaseV1>;
}Expand description
Where the current lease comes from.
Required Methods§
Sourcefn current(&self) -> Option<RuntimeLeaseV1>
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".