pub struct WorkerInfo {
pub id: String,
pub process_id: u32,
pub sent_units: u64,
pub result_units: u64,
}Expand description
Authenticated worker process facts, not remote attestation.
Fields§
§id: StringFresh independently initialized worker identity.
process_id: u32Worker-reported operating-system process id.
sent_units: u64Complete WORK frames sent to this authenticated instance, including retries.
result_units: u64Complete authenticated RESULT frames received, before structural admission.
Trait Implementations§
Source§impl Clone for WorkerInfo
impl Clone for WorkerInfo
Source§impl Debug for WorkerInfo
impl Debug for WorkerInfo
Source§impl<'de> Deserialize<'de> for WorkerInfo
impl<'de> Deserialize<'de> for WorkerInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for WorkerInfo
impl Freeze for WorkerInfo
impl Move for WorkerInfo
impl RefUnwindSafe for WorkerInfo
impl Send for WorkerInfo
impl Sync for WorkerInfo
impl Unpin for WorkerInfo
impl UnsafeUnpin for WorkerInfo
impl UnwindSafe for WorkerInfo
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