pub enum LicenseStatus {
Unknown,
Locked,
Active,
Grace,
}Expand description
Runtime unlock status. Active/Grace both mean paid features are unlocked.
Active/Grace mean paid features are unlocked.
Variants§
Unknown
Startup / a check is in flight — nothing decided yet.
Locked
No key, an authoritative denial, or grace expired. Features off.
Active
Online validation succeeded. Features on.
Grace
Offline within the grace window off a cached validation. Features on.
Implementations§
Trait Implementations§
Source§impl Clone for LicenseStatus
impl Clone for LicenseStatus
impl Copy for LicenseStatus
Source§impl Debug for LicenseStatus
impl Debug for LicenseStatus
Source§impl Default for LicenseStatus
impl Default for LicenseStatus
impl Eq for LicenseStatus
Source§impl PartialEq for LicenseStatus
impl PartialEq for LicenseStatus
impl StructuralPartialEq for LicenseStatus
Auto Trait Implementations§
impl Forget for LicenseStatus
impl Freeze for LicenseStatus
impl RefUnwindSafe for LicenseStatus
impl Send for LicenseStatus
impl Sync for LicenseStatus
impl Unpin for LicenseStatus
impl UnsafeUnpin for LicenseStatus
impl UnwindSafe for LicenseStatus
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more