pub struct ProcessErrorReporter { /* private fields */ }Expand description
Cross-process error reporter with structured logging
Implementations§
Source§impl ProcessErrorReporter
impl ProcessErrorReporter
Sourcepub fn report_error(&self, error: &Yoshi) -> Result<(), SendError<ProcessError>>
pub fn report_error(&self, error: &Yoshi) -> Result<(), SendError<ProcessError>>
Reports an error to the cross-process system
§Errors
Returns mpsc::SendError<ProcessError> if the cross-process communication
channel is disconnected or the receiver has been dropped.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ProcessErrorReporter
impl !RefUnwindSafe for ProcessErrorReporter
impl Send for ProcessErrorReporter
impl Sync for ProcessErrorReporter
impl Unpin for ProcessErrorReporter
impl !UnwindSafe for ProcessErrorReporter
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