pub enum NameHolder {
Free,
Same,
Other(Option<String>),
}Expand description
Who holds a name in a store, for a record that would take it.
Variants§
Free
Nothing is registered under the name.
Same
The same VM is: an import refreshes the record.
Other(Option<String>)
Another VM is, by its id, or None for a record that doesn’t read (a torn file keeps
its name taken, since its first holder may still be billing).
Trait Implementations§
Source§impl Clone for NameHolder
impl Clone for NameHolder
Source§impl Debug for NameHolder
impl Debug for NameHolder
impl Eq for NameHolder
Source§impl PartialEq for NameHolder
impl PartialEq for NameHolder
impl StructuralPartialEq for NameHolder
Auto Trait Implementations§
impl Freeze for NameHolder
impl RefUnwindSafe for NameHolder
impl Send for NameHolder
impl Sync for NameHolder
impl Unpin for NameHolder
impl UnsafeUnpin for NameHolder
impl UnwindSafe for NameHolder
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.