pub enum RdfVisualizerError {
IOError {
err: Error,
},
NodeNotFound {
node: VisualRDFNode,
},
UmlConverterError {
err: UmlConverterError,
},
}Expand description
Represents all possible errors that can occur during RDF visualization operations.
Variants§
IOError
Error wrapping I/O operations failures.
This variant is used for any standard I/O errors that occur during file operations, network access, or other I/O-related tasks in the visualization process.
§Fields
err: The underlyingstd::io::Errorthat was encountered
NodeNotFound
Error when a specific RDF node cannot be found in the visual graph.
This occurs when trying to access or manipulate a node that does not exist in the current visualization graph.
§Fields
node: TheVisualRDFNodethat was not found
Fields
§
node: VisualRDFNodeUmlConverterError
Error wrapping UML converter operation failures.
This variant encapsulates errors that originate from the UML conversion process, such as PlantUML execution failures or diagram generation issues.
§Fields
err: The underlyingUmlConverterErrorthat was encountered
Fields
§
err: UmlConverterErrorTrait Implementations§
Source§impl Debug for RdfVisualizerError
impl Debug for RdfVisualizerError
Source§impl Display for RdfVisualizerError
impl Display for RdfVisualizerError
Source§impl Error for RdfVisualizerError
impl Error for RdfVisualizerError
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<Error> for RdfVisualizerError
impl From<Error> for RdfVisualizerError
Source§impl From<UmlConverterError> for RdfVisualizerError
impl From<UmlConverterError> for RdfVisualizerError
Source§fn from(source: UmlConverterError) -> Self
fn from(source: UmlConverterError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RdfVisualizerError
impl !RefUnwindSafe for RdfVisualizerError
impl Send for RdfVisualizerError
impl Sync for RdfVisualizerError
impl Unpin for RdfVisualizerError
impl UnsafeUnpin for RdfVisualizerError
impl !UnwindSafe for RdfVisualizerError
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.