Struct httpbis::for_test::ConnectionStateSnapshot [−][src]
pub struct ConnectionStateSnapshot { pub in_window_size: i32, pub out_window_size: i32, pub streams: HashMap<StreamId, HttpStreamStateSnapshot>, }
Fields
in_window_size: i32
out_window_size: i32
streams: HashMap<StreamId, HttpStreamStateSnapshot>
Methods
impl ConnectionStateSnapshot
[src]
impl ConnectionStateSnapshot
pub fn single_stream(&self) -> (u32, &HttpStreamStateSnapshot)
[src]
pub fn single_stream(&self) -> (u32, &HttpStreamStateSnapshot)
Trait Implementations
impl Debug for ConnectionStateSnapshot
[src]
impl Debug for ConnectionStateSnapshot
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for ConnectionStateSnapshot
[src]
impl PartialEq for ConnectionStateSnapshot
fn eq(&self, other: &ConnectionStateSnapshot) -> bool
[src]
fn eq(&self, other: &ConnectionStateSnapshot) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ConnectionStateSnapshot) -> bool
[src]
fn ne(&self, other: &ConnectionStateSnapshot) -> bool
This method tests for !=
.
impl Eq for ConnectionStateSnapshot
[src]
impl Eq for ConnectionStateSnapshot
impl Clone for ConnectionStateSnapshot
[src]
impl Clone for ConnectionStateSnapshot
fn clone(&self) -> ConnectionStateSnapshot
[src]
fn clone(&self) -> ConnectionStateSnapshot
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for ConnectionStateSnapshot
impl Send for ConnectionStateSnapshot
impl Sync for ConnectionStateSnapshot
impl Sync for ConnectionStateSnapshot