#[non_exhaustive]pub enum AppFile {
Preferences,
Told,
}Expand description
A file an app keeps of its own in Pitboard’s directory: what it remembers between launches that is the app’s and no command’s. The core reads none of them for itself, and nothing in one is secret, but each is written private to its owner, as everything there is.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Preferences
The app’s own preferences, such as which tools somebody keeps one account of.
Told
What the app has told a person about, once for each reset of a limit, so a run-out told before the app was quit is not told again after it is opened.
Implementations§
Trait Implementations§
impl Copy for AppFile
impl Eq for AppFile
impl StructuralPartialEq for AppFile
Auto Trait Implementations§
impl Freeze for AppFile
impl RefUnwindSafe for AppFile
impl Send for AppFile
impl Sync for AppFile
impl Unpin for AppFile
impl UnsafeUnpin for AppFile
impl UnwindSafe for AppFile
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.