Struct nakamoto_net::simulator::Scheduled
source · pub struct Scheduled<M, D> {
pub node: IpAddr,
pub remote: SocketAddr,
pub input: Input<M, D>,
}
Expand description
A scheduled protocol input.
Fields
node: IpAddr
The node for which this input is scheduled.
remote: SocketAddr
The remote peer from which this input originates. If the input originates from the local node, this should be set to the zero address.
input: Input<M, D>
The input being scheduled.
Trait Implementations
Auto Trait Implementations
impl<M, D> !RefUnwindSafe for Scheduled<M, D>
impl<M, D> Send for Scheduled<M, D>where
D: Send,
M: Send,
impl<M, D> Sync for Scheduled<M, D>where
D: Sync,
M: Sync,
impl<M, D> Unpin for Scheduled<M, D>where
D: Unpin,
M: Unpin,
impl<M, D> !UnwindSafe for Scheduled<M, D>
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