pub enum LockReason {
Deactivated,
Expired,
Invalid,
Unverified,
NotCovered,
}Expand description
Why the app lost its license, so the UI can say so.
Variants§
Deactivated
Deactivated or forgotten on this device, here or in another instance.
Expired
The license reached its end date.
Invalid
Moonbase no longer accepts it: revoked, or bound to another device.
Unverified
It could not be checked online within the offline grace period.
NotCovered
It doesn’t cover this version of the app. It stays stored; see
LicenseState::not_covered.
Trait Implementations§
Source§impl Clone for LockReason
impl Clone for LockReason
impl Copy for LockReason
Source§impl Debug for LockReason
impl Debug for LockReason
impl Eq for LockReason
Source§impl PartialEq for LockReason
impl PartialEq for LockReason
Source§impl Serialize for LockReason
impl Serialize for LockReason
impl StructuralPartialEq for LockReason
Auto Trait Implementations§
impl Freeze for LockReason
impl RefUnwindSafe for LockReason
impl Send for LockReason
impl Sync for LockReason
impl Unpin for LockReason
impl UnsafeUnpin for LockReason
impl UnwindSafe for LockReason
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.