pub enum Error {
InvalidNodeHandle(NodeHandle),
UnknownInput(Name),
UnknownOutput(Name),
Incompatible {
input: TypeId,
output: TypeId,
},
Cycle(NodeHandle),
}
Expand description
A generic error type for the crate.
Variants§
InvalidNodeHandle(NodeHandle)
A node handle was invalid.
UnknownInput(Name)
An input’s name was not valid.
UnknownOutput(Name)
An output’s name was not valid.
Incompatible
An input and an output had incompatible types.
Cycle(NodeHandle)
A node depends on itself.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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