pub struct StatusEvent<T> {
pub id: String,
pub data: T,
}Expand description
It references the id of the process and the content is generic. You decide what to store in the field data.
Fields§
§id: StringId of the command
data: TYour custom parsed data
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for StatusEvent<T>where
T: Freeze,
impl<T> RefUnwindSafe for StatusEvent<T>where
T: RefUnwindSafe,
impl<T> Send for StatusEvent<T>where
T: Send,
impl<T> Sync for StatusEvent<T>where
T: Sync,
impl<T> Unpin for StatusEvent<T>where
T: Unpin,
impl<T> UnwindSafe for StatusEvent<T>where
T: 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