Struct disarray_network::nodes::Node
source · pub struct Node {
pub address: NetworkAddress,
pub peers: Vec<Peer>,
}
Expand description
This structure implements the node framework expected for network participants
Fields
address: NetworkAddress
peers: Vec<Peer>
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnwindSafe for Node
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