pub struct TaskResult<T> {
pub data: Entry<T>,
pub kind: TaskResultKind,
}
Expand description
Result of task dispatch
Type parameter T
is payload within redis queue Entry
Fields§
§data: Entry<T>
Task message entry.
Returned as it was passed
kind: TaskResultKind
Operation result
Auto Trait Implementations§
impl<T> Freeze for TaskResult<T>where
T: Freeze,
impl<T> RefUnwindSafe for TaskResult<T>where
T: RefUnwindSafe,
impl<T> Send for TaskResult<T>where
T: Send,
impl<T> Sync for TaskResult<T>where
T: Sync,
impl<T> Unpin for TaskResult<T>where
T: Unpin,
impl<T> UnwindSafe for TaskResult<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