pub struct ProcessError {
pub process_id: u32,
pub thread_id: String,
pub error_message: String,
pub error_kind: String,
pub severity: u8,
pub timestamp: SystemTime,
pub metadata: HashMap<Arc<str>, Arc<str>>,
}Expand description
Serializable error for cross-process communication
Fields§
§process_id: u32Unique identifier for the process that generated this error
thread_id: StringString identifier for the thread within the process
error_message: StringHuman-readable error message describing the failure
error_kind: StringClassification of the error type for categorization
severity: u8Severity level from 0 (info) to 255 (critical)
timestamp: SystemTimeSystem timestamp when the error occurred
metadata: HashMap<Arc<str>, Arc<str>>Additional metadata for enhanced error context
Trait Implementations§
Source§impl Clone for ProcessError
impl Clone for ProcessError
Source§fn clone(&self) -> ProcessError
fn clone(&self) -> ProcessError
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 ProcessError
impl Debug for ProcessError
Source§impl<'de> Deserialize<'de> for ProcessError
impl<'de> Deserialize<'de> for ProcessError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ProcessError
impl RefUnwindSafe for ProcessError
impl Send for ProcessError
impl Sync for ProcessError
impl Unpin for ProcessError
impl UnwindSafe for ProcessError
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