struct NewConnectionHandlerParams {
packet_sender: AsyncSender<PacketAccumulator>,
remote_pubkey: Option<Pubkey>,
stake: u64,
total_stake: u64,
max_connections_per_peer: usize,
stats: Arc<StreamStats>,
max_stake: u64,
min_stake: u64,
}
Fields§
§packet_sender: AsyncSender<PacketAccumulator>
§remote_pubkey: Option<Pubkey>
§stake: u64
§total_stake: u64
§max_connections_per_peer: usize
§stats: Arc<StreamStats>
§max_stake: u64
§min_stake: u64
Implementations§
source§impl NewConnectionHandlerParams
impl NewConnectionHandlerParams
fn new_unstaked( packet_sender: AsyncSender<PacketAccumulator>, max_connections_per_peer: usize, stats: Arc<StreamStats> ) -> NewConnectionHandlerParams
Auto Trait Implementations§
impl RefUnwindSafe for NewConnectionHandlerParams
impl Send for NewConnectionHandlerParams
impl Sync for NewConnectionHandlerParams
impl Unpin for NewConnectionHandlerParams
impl UnwindSafe for NewConnectionHandlerParams
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,
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