pub struct CommunicationSetup {
pub sender: bool,
pub process: usize,
pub remote: Option<usize>,
}
Expand description
Configuration information about a communication thread.
Fields§
§sender: bool
True when this is a send thread (or the receive thread).
process: usize
The process id of the thread.
remote: Option<usize>
The remote process id.
Trait Implementations§
Source§impl Abomonation for CommunicationSetup
impl Abomonation for CommunicationSetup
Source§impl Clone for CommunicationSetup
impl Clone for CommunicationSetup
Source§fn clone(&self) -> CommunicationSetup
fn clone(&self) -> CommunicationSetup
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 moreSource§impl Debug for CommunicationSetup
impl Debug for CommunicationSetup
Source§impl Hash for CommunicationSetup
impl Hash for CommunicationSetup
Source§impl PartialEq for CommunicationSetup
impl PartialEq for CommunicationSetup
impl Copy for CommunicationSetup
impl Eq for CommunicationSetup
impl StructuralPartialEq for CommunicationSetup
Auto Trait Implementations§
impl Freeze for CommunicationSetup
impl RefUnwindSafe for CommunicationSetup
impl Send for CommunicationSetup
impl Sync for CommunicationSetup
impl Unpin for CommunicationSetup
impl UnwindSafe for CommunicationSetup
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