Enum rustygear::client::WorkUpdate
source · pub enum WorkUpdate {
Complete {
handle: Bytes,
payload: Bytes,
},
Data {
handle: Bytes,
payload: Bytes,
},
Warning {
handle: Bytes,
payload: Bytes,
},
Exception {
handle: Bytes,
payload: Bytes,
},
Status {
handle: Bytes,
numerator: usize,
denominator: usize,
},
Fail(Bytes),
}
Expand description
Logical representation of the data workers may send back to clients
Variants§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for WorkUpdate
impl RefUnwindSafe for WorkUpdate
impl Send for WorkUpdate
impl Sync for WorkUpdate
impl Unpin for WorkUpdate
impl UnwindSafe for WorkUpdate
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