Struct paxakos::prototyping::DirectCommunicatorEvent
source · pub struct DirectCommunicatorEvent<I: Invocation> {
pub sender: NodeIdOf<I>,
pub receiver: NodeIdOf<I>,
pub e2e_delay: Duration,
pub dropped: bool,
pub payload: DirectCommunicatorPayload<I>,
}
Fields
sender: NodeIdOf<I>
receiver: NodeIdOf<I>
e2e_delay: Duration
dropped: bool
payload: DirectCommunicatorPayload<I>
Trait Implementations
sourceimpl<I: Clone + Invocation> Clone for DirectCommunicatorEvent<I>
impl<I: Clone + Invocation> Clone for DirectCommunicatorEvent<I>
sourcefn clone(&self) -> DirectCommunicatorEvent<I>
fn clone(&self) -> DirectCommunicatorEvent<I>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<I: Debug + Invocation> Debug for DirectCommunicatorEvent<I>
impl<I: Debug + Invocation> Debug for DirectCommunicatorEvent<I>
Auto Trait Implementations
impl<I> RefUnwindSafe for DirectCommunicatorEvent<I>where
<I as Invocation>::CoordNum: RefUnwindSafe,
<<<I as Invocation>::State as State>::Node as NodeInfo>::Id: RefUnwindSafe,
<<I as Invocation>::State as State>::LogEntry: RefUnwindSafe,
<I as Invocation>::RoundNum: RefUnwindSafe,
impl<I> Send for DirectCommunicatorEvent<I>
impl<I> Sync for DirectCommunicatorEvent<I>
impl<I> Unpin for DirectCommunicatorEvent<I>
impl<I> UnwindSafe for DirectCommunicatorEvent<I>where
<I as Invocation>::CoordNum: UnwindSafe,
<<<I as Invocation>::State as State>::Node as NodeInfo>::Id: UnwindSafe,
<<I as Invocation>::State as State>::LogEntry: RefUnwindSafe,
<I as Invocation>::RoundNum: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more