pub enum InjectionError {
OutputNotFound(DataLabel),
OutputTypeMismatch(DataLabel),
InputNotFound(DataLabel),
InputTypeMismatch(DataLabel),
InputTypeMismatchDetails {
name: &'static str,
expected: &'static str,
},
TooManyReferences(&'static str),
}Variants§
OutputNotFound(DataLabel)
OutputTypeMismatch(DataLabel)
InputNotFound(DataLabel)
InputTypeMismatch(DataLabel)
InputTypeMismatchDetails
TooManyReferences(&'static str)
Trait Implementations§
Source§impl Debug for InjectionError
impl Debug for InjectionError
Source§impl Display for InjectionError
impl Display for InjectionError
Source§impl Error for InjectionError
impl Error for InjectionError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<InjectionError> for NodeExecutionError
impl From<InjectionError> for NodeExecutionError
Source§fn from(source: InjectionError) -> Self
fn from(source: InjectionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InjectionError
impl RefUnwindSafe for InjectionError
impl Send for InjectionError
impl Sync for InjectionError
impl Unpin for InjectionError
impl UnwindSafe for InjectionError
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