pub struct NeighbourPeer {
pub profile: Profile,
pub peer_key: Vec<u8>,
pub connection: [u8; 48],
pub seq: u64,
}Expand description
What a receiver checks a frame against: the connection’s profile, the peer’s identity key as carried, the connection hash, and the seq it expects next from that peer.
Fields§
§profile: Profile§peer_key: Vec<u8>§connection: [u8; 48]§seq: u64Trait Implementations§
Source§impl Clone for NeighbourPeer
impl Clone for NeighbourPeer
Source§impl Debug for NeighbourPeer
impl Debug for NeighbourPeer
impl Eq for NeighbourPeer
Source§impl PartialEq for NeighbourPeer
impl PartialEq for NeighbourPeer
impl StructuralPartialEq for NeighbourPeer
Auto Trait Implementations§
impl Freeze for NeighbourPeer
impl RefUnwindSafe for NeighbourPeer
impl Send for NeighbourPeer
impl Sync for NeighbourPeer
impl Unpin for NeighbourPeer
impl UnsafeUnpin for NeighbourPeer
impl UnwindSafe for NeighbourPeer
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