pub enum ModifyGraphError {
NodeError(NodeError),
RemoveNodeError(RemoveNodeError),
AddEdgeError(AddEdgeError),
UpdateError(UpdateError),
CompileGraphError(CompileGraphError),
}Variants§
NodeError(NodeError)
An error occured while adding a new node to the graph.
RemoveNodeError(RemoveNodeError)
An error occured while removing a node from the graph.
AddEdgeError(AddEdgeError)
An error occured while adding a new edge to the graph.
UpdateError(UpdateError)
An error occurred while updating a FirewheelContext.
CompileGraphError(CompileGraphError)
An error while trying to compile the graph, i.e. a cycle was detected.
Trait Implementations§
Source§impl Debug for ModifyGraphError
impl Debug for ModifyGraphError
Source§impl Display for ModifyGraphError
impl Display for ModifyGraphError
Source§impl Error for ModifyGraphError
impl Error for ModifyGraphError
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<AddEdgeError> for ModifyGraphError
impl From<AddEdgeError> for ModifyGraphError
Source§fn from(source: AddEdgeError) -> Self
fn from(source: AddEdgeError) -> Self
Converts to this type from the input type.
Source§impl From<CompileGraphError> for ModifyGraphError
impl From<CompileGraphError> for ModifyGraphError
Source§fn from(source: CompileGraphError) -> Self
fn from(source: CompileGraphError) -> Self
Converts to this type from the input type.
Source§impl From<NodeError> for ModifyGraphError
impl From<NodeError> for ModifyGraphError
Source§impl From<RemoveNodeError> for ModifyGraphError
impl From<RemoveNodeError> for ModifyGraphError
Source§fn from(source: RemoveNodeError) -> Self
fn from(source: RemoveNodeError) -> Self
Converts to this type from the input type.
Source§impl From<UpdateError> for ModifyGraphError
impl From<UpdateError> for ModifyGraphError
Source§fn from(source: UpdateError) -> Self
fn from(source: UpdateError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ModifyGraphError
impl !Send for ModifyGraphError
impl !Sync for ModifyGraphError
impl !UnwindSafe for ModifyGraphError
impl Freeze for ModifyGraphError
impl Unpin for ModifyGraphError
impl UnsafeUnpin for ModifyGraphError
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> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Converts
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Converts
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Converts
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Converts
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.