pub struct ProcessError<TCommand = AnyValue> {
pub code: ProcessErrorCode,
pub message: String,
pub command: Option<ProcessCommand<TCommand>>,
pub cursor: ProcessCursor,
}Expand description
ProcessError data container.
Fields§
§code: ProcessErrorCodecode field for code.
message: Stringmessage field for message.
command: Option<ProcessCommand<TCommand>>command field for command.
cursor: ProcessCursorcursor field for cursor.
Trait Implementations§
Source§impl<TCommand: Clone> Clone for ProcessError<TCommand>
impl<TCommand: Clone> Clone for ProcessError<TCommand>
Source§fn clone(&self) -> ProcessError<TCommand>
fn clone(&self) -> ProcessError<TCommand>
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<TCommand: Debug> Debug for ProcessError<TCommand>
impl<TCommand: Debug> Debug for ProcessError<TCommand>
Source§impl<TCommand: PartialEq> PartialEq for ProcessError<TCommand>
impl<TCommand: PartialEq> PartialEq for ProcessError<TCommand>
impl<TCommand> StructuralPartialEq for ProcessError<TCommand>
Auto Trait Implementations§
impl<TCommand> Freeze for ProcessError<TCommand>where
TCommand: Freeze,
impl<TCommand> RefUnwindSafe for ProcessError<TCommand>where
TCommand: RefUnwindSafe,
impl<TCommand> Send for ProcessError<TCommand>where
TCommand: Send,
impl<TCommand> Sync for ProcessError<TCommand>where
TCommand: Sync,
impl<TCommand> Unpin for ProcessError<TCommand>where
TCommand: Unpin,
impl<TCommand> UnsafeUnpin for ProcessError<TCommand>where
TCommand: UnsafeUnpin,
impl<TCommand> UnwindSafe for ProcessError<TCommand>where
TCommand: UnwindSafe,
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