pub struct AtLoginStatus {
pub on: bool,
pub serving: Option<Serving>,
pub entry: Option<Result<EntryState, String>>,
pub listed: Option<PathBuf>,
}Expand description
What syncing from login does for a library, as a program shows it.
Fields§
§on: boolWhether the list has the library.
serving: Option<Serving>What the copy that runs does for it, or None where none runs.
entry: Option<Result<EntryState, String>>What the login entry says, where the platform has one, or why it cannot be read.
listed: Option<PathBuf>The copy of nibkeep-sync that the list names, which the entry should start.
Implementations§
Source§impl AtLoginStatus
impl AtLoginStatus
Sourcepub fn entry_stale(&self) -> bool
pub fn entry_stale(&self) -> bool
Whether the entry starts another program than the copy that the list names, or one that is gone.
Sourcepub fn entry_word(&self) -> Option<&'static str>
pub fn entry_word(&self) -> Option<&'static str>
What the login entry says, in a word, as programs show it: off where the person
turned it off, whatever it starts; missing; stale where it starts another program
than the copy that the list names; on; unreadable; None where there is none.
Trait Implementations§
Source§impl Clone for AtLoginStatus
impl Clone for AtLoginStatus
Source§impl Debug for AtLoginStatus
impl Debug for AtLoginStatus
impl Eq for AtLoginStatus
Source§impl PartialEq for AtLoginStatus
impl PartialEq for AtLoginStatus
impl StructuralPartialEq for AtLoginStatus
Auto Trait Implementations§
impl Forget for AtLoginStatus
impl Freeze for AtLoginStatus
impl Move for AtLoginStatus
impl RefUnwindSafe for AtLoginStatus
impl Send for AtLoginStatus
impl Sync for AtLoginStatus
impl Unpin for AtLoginStatus
impl UnsafeUnpin for AtLoginStatus
impl UnwindSafe for AtLoginStatus
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.