#[non_exhaustive]pub enum Handles {
Single,
Fixed {
handles: Vec<String>,
},
Dynamic {
config_path: Option<String>,
},
}Expand description
How a node selects outgoing edges.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Single
Every outgoing edge uses the default source handle.
Fixed
A fixed set of handles.
Dynamic
Handles are derived from configuration (e.g. if-else case ids, classifier class ids).
config_path points at the config field listing them, for builders.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Handles
impl<'de> Deserialize<'de> for Handles
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Handles
impl StructuralPartialEq for Handles
Auto Trait Implementations§
impl Forget for Handles
impl Freeze for Handles
impl Move for Handles
impl RefUnwindSafe for Handles
impl Send for Handles
impl Sync for Handles
impl Unpin for Handles
impl UnsafeUnpin for Handles
impl UnwindSafe for Handles
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.