pub enum AddEdgeError {
OccupiedConsumer,
}Expand description
Enumeration of all the errors that could happen while adding a new edge to the graph.
Variants§
OccupiedConsumer
Each consumer must have at most one producer connected to it. If that is not the case, this error will be returned.
Trait Implementations§
Source§impl Debug for AddEdgeError
impl Debug for AddEdgeError
Source§impl From<AddEdgeError> for Error
impl From<AddEdgeError> for Error
Source§fn from(error: AddEdgeError) -> Self
fn from(error: AddEdgeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AddEdgeError
impl RefUnwindSafe for AddEdgeError
impl Send for AddEdgeError
impl Sync for AddEdgeError
impl Unpin for AddEdgeError
impl UnwindSafe for AddEdgeError
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