pub enum PaneExecutionError {
Operation(Box<PaneOperationError>),
Timeline(Box<PaneInteractionTimelineError>),
InvalidHistory(String),
HistoryRequired,
}Expand description
Failure before an edit or history transition can be published.
Variants§
Operation(Box<PaneOperationError>)
Original operation failure, with its complete diagnostic payload.
Timeline(Box<PaneInteractionTimelineError>)
Canonical history replay failure.
InvalidHistory(String)
Imported history or the supplied live tree does not match the engine.
HistoryRequired
The no-history strategy cannot serve an undo/redo consumer.
Trait Implementations§
Source§impl Clone for PaneExecutionError
impl Clone for PaneExecutionError
Source§fn clone(&self) -> PaneExecutionError
fn clone(&self) -> PaneExecutionError
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 PaneExecutionError
impl Debug for PaneExecutionError
Source§impl Display for PaneExecutionError
impl Display for PaneExecutionError
impl Eq for PaneExecutionError
Source§impl Error for PaneExecutionError
impl Error for PaneExecutionError
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<PaneInteractionTimelineError> for PaneExecutionError
impl From<PaneInteractionTimelineError> for PaneExecutionError
Source§fn from(error: PaneInteractionTimelineError) -> Self
fn from(error: PaneInteractionTimelineError) -> Self
Converts to this type from the input type.
Source§impl From<PaneOperationError> for PaneExecutionError
impl From<PaneOperationError> for PaneExecutionError
Source§fn from(error: PaneOperationError) -> Self
fn from(error: PaneOperationError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PaneExecutionError
impl PartialEq for PaneExecutionError
impl StructuralPartialEq for PaneExecutionError
Auto Trait Implementations§
impl Freeze for PaneExecutionError
impl RefUnwindSafe for PaneExecutionError
impl Send for PaneExecutionError
impl Sync for PaneExecutionError
impl Unpin for PaneExecutionError
impl UnsafeUnpin for PaneExecutionError
impl UnwindSafe for PaneExecutionError
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