pub enum Serving {
Starting,
Syncing,
Waiting,
WaitingForKeyring,
NotHere,
NoKey,
Failed(String),
}Expand description
What the service does for a library.
Variants§
Starting
It is opening the library, and has not said more yet.
Syncing
It holds the library’s sync role, and syncs it.
Waiting
Another program holds the role, which it takes as soon as that one lets go.
WaitingForKeyring
The keystore’s entry of the library’s key is locked, as a Secret Service is after an automatic login, until the person unlocks it.
NotHere
No replica with the listed ID is here in the directory: the folder is gone, holds another library, or a copy of another computer’s replica.
NoKey
The library’s keys are not in the keystore: a passphrase protects them, or the keystore has no key for them.
Failed(String)
It failed, as this says; it tries again a while later.
Implementations§
Trait Implementations§
impl Eq for Serving
impl StructuralPartialEq for Serving
Auto Trait Implementations§
impl Forget for Serving
impl Freeze for Serving
impl Move for Serving
impl RefUnwindSafe for Serving
impl Send for Serving
impl Sync for Serving
impl Unpin for Serving
impl UnsafeUnpin for Serving
impl UnwindSafe for Serving
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.