Struct libp2p_perf::RunParams
source · pub struct RunParams {
pub to_send: usize,
pub to_receive: usize,
}
Expand description
Parameters for a single run, i.e. one stream, sending and receiving data.
Property names are from the perspective of the actor. E.g. to_send
is the amount of data to
send, both as the client and the server.
Fields§
§to_send: usize
§to_receive: usize
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for RunParams
impl Send for RunParams
impl Sync for RunParams
impl Unpin for RunParams
impl UnwindSafe for RunParams
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