pub enum KeyState {
Anonymous,
Stored,
Missing,
Environment,
EnvironmentUnusable,
Unread,
}Expand description
Where one account’s key stands, decided by the city so a page draws a word rather than reading two flags.
Variants§
Anonymous
The account names no reference: its requests carry no key.
Stored
The vault holds a key under the account’s reference.
Missing
Neither the vault nor an environment variable has one, and the page may store one.
Environment
An environment variable supplies it; the page cannot change it.
EnvironmentUnusable
An environment variable is set for it and does not read as text: it shades the vault, so the key cannot be used either way.
Unread
This city has no vault open, so nothing was looked up.
Trait Implementations§
impl Copy for KeyState
Source§impl<'de> Deserialize<'de> for KeyState
impl<'de> Deserialize<'de> for KeyState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for KeyState
impl StructuralPartialEq for KeyState
Auto Trait Implementations§
impl Freeze for KeyState
impl RefUnwindSafe for KeyState
impl Send for KeyState
impl Sync for KeyState
impl Unpin for KeyState
impl UnsafeUnpin for KeyState
impl UnwindSafe for KeyState
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