Struct messaging_thread_pool::samples::MeanRequest
source · pub struct MeanRequest(pub usize);Expand description
This defines a request to calculate the mean of the contained randoms
Tuple Fields§
§0: usizeTrait Implementations§
source§impl Clone for MeanRequest
impl Clone for MeanRequest
source§fn clone(&self) -> MeanRequest
fn clone(&self) -> MeanRequest
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for MeanRequest
impl Debug for MeanRequest
source§impl From<MeanRequest> for ThreadRequestResponse<Randoms>
impl From<MeanRequest> for ThreadRequestResponse<Randoms>
source§fn from(request: MeanRequest) -> Self
fn from(request: MeanRequest) -> Self
Converts to this type from the input type.
source§impl From<ThreadRequestResponse<Randoms>> for MeanRequest
impl From<ThreadRequestResponse<Randoms>> for MeanRequest
source§fn from(request: ThreadRequestResponse<Randoms>) -> Self
fn from(request: ThreadRequestResponse<Randoms>) -> Self
Converts to this type from the input type.
source§impl IdTargeted for MeanRequest
impl IdTargeted for MeanRequest
all requests must be able to provide the id of the pool item that they are targeting