pub enum GraphRenderError {
UnsupportedSchemaVersion {
found: u32,
expected: u32,
},
DuplicateNodeId {
id: String,
},
UnknownNodeReference {
edge_id: String,
endpoint: &'static str,
node_id: String,
},
MissingRequiredChild {
node_id: String,
child: &'static str,
},
InvalidNodePayload {
node_id: String,
message: String,
},
InvalidExpression {
node_id: String,
field: &'static str,
message: String,
},
InvalidAssignmentTarget {
node_id: String,
field: &'static str,
message: String,
},
InvalidOpaqueSource {
node_id: String,
message: String,
},
DuplicateProcessName {
name: String,
},
CanonicalSource(CanonicalSourceError),
RenderedSourceInvalid {
message: String,
},
}Variants§
UnsupportedSchemaVersion
DuplicateNodeId
UnknownNodeReference
MissingRequiredChild
InvalidNodePayload
InvalidExpression
InvalidAssignmentTarget
InvalidOpaqueSource
DuplicateProcessName
CanonicalSource(CanonicalSourceError)
RenderedSourceInvalid
Trait Implementations§
Source§impl Clone for GraphRenderError
impl Clone for GraphRenderError
Source§fn clone(&self) -> GraphRenderError
fn clone(&self) -> GraphRenderError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GraphRenderError
impl Debug for GraphRenderError
Source§impl Display for GraphRenderError
impl Display for GraphRenderError
Source§impl Error for GraphRenderError
impl Error for GraphRenderError
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<CanonicalSourceError> for GraphRenderError
impl From<CanonicalSourceError> for GraphRenderError
Source§fn from(source: CanonicalSourceError) -> Self
fn from(source: CanonicalSourceError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GraphRenderError
impl PartialEq for GraphRenderError
impl StructuralPartialEq for GraphRenderError
Auto Trait Implementations§
impl Freeze for GraphRenderError
impl RefUnwindSafe for GraphRenderError
impl Send for GraphRenderError
impl Sync for GraphRenderError
impl Unpin for GraphRenderError
impl UnsafeUnpin for GraphRenderError
impl UnwindSafe for GraphRenderError
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of
ToCompactString::to_compact_string() Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read more