pub struct TaskCommunication {
pub task_a: usize,
pub task_b: usize,
pub volume_bytes: u64,
}Expand description
A communication demand between two logical tasks.
Fields§
§task_a: usizeFirst task index.
task_b: usizeSecond task index.
volume_bytes: u64Communication volume in bytes.
Trait Implementations§
Source§impl Clone for TaskCommunication
impl Clone for TaskCommunication
Source§fn clone(&self) -> TaskCommunication
fn clone(&self) -> TaskCommunication
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for TaskCommunication
impl RefUnwindSafe for TaskCommunication
impl Send for TaskCommunication
impl Sync for TaskCommunication
impl Unpin for TaskCommunication
impl UnsafeUnpin for TaskCommunication
impl UnwindSafe for TaskCommunication
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