pub enum ExportDocError {
UnknownStatePresentation {
machine: &'static str,
entry: usize,
},
DuplicateStatePresentation {
machine: &'static str,
entry: usize,
},
UnknownTransitionPresentation {
machine: &'static str,
entry: usize,
},
DuplicateTransitionPresentation {
machine: &'static str,
entry: usize,
},
}Expand description
Error returned when presentation metadata cannot be joined onto a validated machine graph.
Variants§
UnknownStatePresentation
One state presentation entry points at a state id that is not in the validated graph.
DuplicateStatePresentation
One state id appears more than once in the presentation overlay.
UnknownTransitionPresentation
One transition presentation entry points at a transition id that is not in the validated graph.
DuplicateTransitionPresentation
One transition id appears more than once in the presentation overlay.
Trait Implementations§
Source§impl Clone for ExportDocError
impl Clone for ExportDocError
Source§fn clone(&self) -> ExportDocError
fn clone(&self) -> ExportDocError
Returns a duplicate of the value. Read more
1.0.0 · 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 ExportDocError
impl Debug for ExportDocError
Source§impl Display for ExportDocError
impl Display for ExportDocError
Source§impl Error for ExportDocError
impl Error for ExportDocError
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()
Source§impl PartialEq for ExportDocError
impl PartialEq for ExportDocError
impl Copy for ExportDocError
impl Eq for ExportDocError
impl StructuralPartialEq for ExportDocError
Auto Trait Implementations§
impl Freeze for ExportDocError
impl RefUnwindSafe for ExportDocError
impl Send for ExportDocError
impl Sync for ExportDocError
impl Unpin for ExportDocError
impl UnsafeUnpin for ExportDocError
impl UnwindSafe for ExportDocError
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