Struct usiem::components::task::SiemTask
source · pub struct SiemTask {
pub created_at: i64,
pub enqueued_at: i64,
pub origin: String,
pub id: u64,
pub data: String,
}
Expand description
Enqueued task with data. If the Task has finished then the result has Some data. This data can be a Ok with the output (not the data) or the error. The ID is to get the Task result
Fields
created_at: i64
enqueued_at: i64
origin: String
id: u64
data: String
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SiemTask
impl Send for SiemTask
impl Sync for SiemTask
impl Unpin for SiemTask
impl UnwindSafe for SiemTask
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more