pub enum RuntimeNodeSelectorResolution<T> {
NoMatch {
selector: String,
},
ExactlyOne {
selector: String,
node: T,
},
Ambiguous {
selector: String,
nodes: Vec<T>,
},
}Expand description
One runtime-node selector’s deterministic resolution result.
Variants§
NoMatch
The selector matched no named candidate.
ExactlyOne
The selector resolved to exactly one candidate.
Ambiguous
The selector matched more than one candidate.
Trait Implementations§
Source§impl<T: Clone> Clone for RuntimeNodeSelectorResolution<T>
impl<T: Clone> Clone for RuntimeNodeSelectorResolution<T>
Source§fn clone(&self) -> RuntimeNodeSelectorResolution<T>
fn clone(&self) -> RuntimeNodeSelectorResolution<T>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<T: Debug> Debug for RuntimeNodeSelectorResolution<T>
impl<T: Debug> Debug for RuntimeNodeSelectorResolution<T>
impl<T: Eq> Eq for RuntimeNodeSelectorResolution<T>
Source§impl<T: PartialEq> PartialEq for RuntimeNodeSelectorResolution<T>
impl<T: PartialEq> PartialEq for RuntimeNodeSelectorResolution<T>
impl<T: PartialEq> StructuralPartialEq for RuntimeNodeSelectorResolution<T>
Auto Trait Implementations§
impl<T> Freeze for RuntimeNodeSelectorResolution<T>
impl<T> RefUnwindSafe for RuntimeNodeSelectorResolution<T>
impl<T> Send for RuntimeNodeSelectorResolution<T>
impl<T> Sync for RuntimeNodeSelectorResolution<T>
impl<T> Unpin for RuntimeNodeSelectorResolution<T>
impl<T> UnsafeUnpin for RuntimeNodeSelectorResolution<T>
impl<T> UnwindSafe for RuntimeNodeSelectorResolution<T>
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