pub enum Unconfirmed {
Unreadable,
Anonymous,
NotChecked,
}Expand description
Why a location on record could not be confirmed to be the workspace that was asked for.
Kept apart because what the reader has to do about them differs, and because two of the three are ordinary rather than wrong.
Variants§
Unreadable
Nothing at the location could be opened as a workspace — the directory is gone, or is not a workspace yet. Recording a peer before creating it is reasonable, so this is a state to report, not an error to raise.
Anonymous
The workspace is there and readable, but anonymous — it declares no
workspace_id, so there is nothing to compare the asked-for name
against. The fix belongs in the peer, not in the map.
NotChecked
The resolver did not look. A PeerLocation::Url is the usual reason:
confirming one means a network round trip, which a synchronous resolver
will not take and prov would not take anywhere.
Trait Implementations§
Source§impl Clone for Unconfirmed
impl Clone for Unconfirmed
Source§fn clone(&self) -> Unconfirmed
fn clone(&self) -> Unconfirmed
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for Unconfirmed
impl Debug for Unconfirmed
Source§impl Display for Unconfirmed
impl Display for Unconfirmed
impl Eq for Unconfirmed
Source§impl PartialEq for Unconfirmed
impl PartialEq for Unconfirmed
impl StructuralPartialEq for Unconfirmed
Auto Trait Implementations§
impl Freeze for Unconfirmed
impl RefUnwindSafe for Unconfirmed
impl Send for Unconfirmed
impl Sync for Unconfirmed
impl Unpin for Unconfirmed
impl UnsafeUnpin for Unconfirmed
impl UnwindSafe for Unconfirmed
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
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
key and return true if they are equal.