pub struct BackgroundState {
pub holding: bool,
pub failed: Option<String>,
}Expand description
What the thread that holds the sync role in the background does now.
Fields§
§holding: boolWhether it holds the role; if not, another program does, or did a moment ago, which it waits for to let go.
failed: Option<String>Why holding the role failed last, until its endpoint starts again: it tries again a while later, but after an error of the keys, as when another program protected the library anew, which ends it.
Trait Implementations§
Source§impl Clone for BackgroundState
impl Clone for BackgroundState
Source§impl Debug for BackgroundState
impl Debug for BackgroundState
Source§impl Default for BackgroundState
impl Default for BackgroundState
impl Eq for BackgroundState
Source§impl PartialEq for BackgroundState
impl PartialEq for BackgroundState
impl StructuralPartialEq for BackgroundState
Auto Trait Implementations§
impl Forget for BackgroundState
impl Freeze for BackgroundState
impl Move for BackgroundState
impl RefUnwindSafe for BackgroundState
impl Send for BackgroundState
impl Sync for BackgroundState
impl Unpin for BackgroundState
impl UnsafeUnpin for BackgroundState
impl UnwindSafe for BackgroundState
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.