pub enum Registration {
Yes,
Stale {
found: Option<String>,
},
No,
Unknown(String),
}Expand description
Whether a client has MemFork registered.
Variants§
Yes
It does, pointing at this MemFork.
Stale
It has a MemFork registered, but not this one.
Which happens the moment anybody installs MemFork somewhere else — and
the installer does exactly that, moving the binary out of wherever it
was built or cargo installed. The client goes on launching a path
that is stale or gone, and the tools quietly stop appearing.
No
It does not.
Unknown(String)
It could not be determined, and why.
Implementations§
Trait Implementations§
Source§impl Clone for Registration
impl Clone for Registration
Source§impl Debug for Registration
impl Debug for Registration
impl Eq for Registration
Source§impl PartialEq for Registration
impl PartialEq for Registration
impl StructuralPartialEq for Registration
Auto Trait Implementations§
impl Forget for Registration
impl Freeze for Registration
impl Move for Registration
impl RefUnwindSafe for Registration
impl Send for Registration
impl Sync for Registration
impl Unpin for Registration
impl UnsafeUnpin for Registration
impl UnwindSafe for Registration
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.