pub enum ApplyError {
Show 28 variants
NodeAlreadyExists {
id: NodeId,
},
MissingNode {
id: NodeId,
},
PortAlreadyExists {
id: PortId,
},
MissingPort {
id: PortId,
},
EdgeAlreadyExists {
id: EdgeId,
},
MissingEdge {
id: EdgeId,
},
SymbolAlreadyExists {
id: SymbolId,
},
MissingSymbol {
id: SymbolId,
},
GroupAlreadyExists {
id: GroupId,
},
MissingGroup {
id: GroupId,
},
NodeParentMissingGroup {
node: NodeId,
group: GroupId,
},
StickyNoteAlreadyExists {
id: StickyNoteId,
},
MissingStickyNote {
id: StickyNoteId,
},
BindingAlreadyExists {
id: BindingId,
},
MissingBinding {
id: BindingId,
},
NodePortsUnknownPort {
node: NodeId,
port: PortId,
},
EdgeMissingPort {
edge: EdgeId,
port: PortId,
},
ImportAlreadyExists {
id: GraphId,
},
MissingImport {
id: GraphId,
},
RemoveNodeMismatch {
id: NodeId,
},
RemovePortMismatch {
id: PortId,
},
RemoveEdgeMismatch {
id: EdgeId,
},
RemoveSymbolMismatch {
id: SymbolId,
},
RemoveGroupMismatch {
id: GroupId,
},
RemoveGroupDetachedMismatch {
group: GroupId,
node: NodeId,
expected: Option<GroupId>,
},
RemoveStickyNoteMismatch {
id: StickyNoteId,
},
RemoveBindingMismatch {
id: BindingId,
},
InvalidTransactionResult {
errors: Vec<GraphValidationError>,
},
}Variants§
NodeAlreadyExists
MissingNode
PortAlreadyExists
MissingPort
EdgeAlreadyExists
MissingEdge
SymbolAlreadyExists
MissingSymbol
GroupAlreadyExists
MissingGroup
NodeParentMissingGroup
StickyNoteAlreadyExists
Fields
§
id: StickyNoteIdMissingStickyNote
Fields
§
id: StickyNoteIdBindingAlreadyExists
MissingBinding
NodePortsUnknownPort
EdgeMissingPort
ImportAlreadyExists
MissingImport
RemoveNodeMismatch
RemovePortMismatch
RemoveEdgeMismatch
RemoveSymbolMismatch
RemoveGroupMismatch
RemoveGroupDetachedMismatch
RemoveStickyNoteMismatch
Fields
§
id: StickyNoteIdRemoveBindingMismatch
InvalidTransactionResult
Fields
§
errors: Vec<GraphValidationError>Trait Implementations§
Source§impl Debug for ApplyError
impl Debug for ApplyError
Source§impl Display for ApplyError
impl Display for ApplyError
Source§impl Error for ApplyError
impl Error for ApplyError
1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for ApplyError
impl RefUnwindSafe for ApplyError
impl Send for ApplyError
impl Sync for ApplyError
impl Unpin for ApplyError
impl UnsafeUnpin for ApplyError
impl UnwindSafe for ApplyError
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