pub enum FlowChartError {
NoGraph,
Rendering(RenderError),
Graph(GraphError),
}Variants§
Trait Implementations§
Source§impl Debug for FlowChartError
impl Debug for FlowChartError
Source§impl Display for FlowChartError
impl Display for FlowChartError
Source§impl Error for FlowChartError
impl Error for FlowChartError
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<GraphError> for FlowChartError
impl From<GraphError> for FlowChartError
Source§fn from(source: GraphError) -> Self
fn from(source: GraphError) -> Self
Converts to this type from the input type.
Source§impl From<RenderError> for FlowChartError
impl From<RenderError> for FlowChartError
Source§fn from(source: RenderError) -> Self
fn from(source: RenderError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for FlowChartError
impl !UnwindSafe for FlowChartError
impl Freeze for FlowChartError
impl Send for FlowChartError
impl Sync for FlowChartError
impl Unpin for FlowChartError
impl UnsafeUnpin for FlowChartError
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