pub struct NetBenchFlow { /* private fields */ }Expand description
One admitted benchmark business flow.
Implementations§
Source§impl NetBenchFlow
impl NetBenchFlow
Sourcepub fn new(
session: Arc<dyn NetBenchSession>,
control_send: Box<dyn NetBenchSendStream>,
control_recv: Box<dyn NetBenchReceiveStream>,
) -> Self
pub fn new( session: Arc<dyn NetBenchSession>, control_send: Box<dyn NetBenchSendStream>, control_recv: Box<dyn NetBenchReceiveStream>, ) -> Self
Creates a flow after the host has authenticated/admitted the peer and routed its control stream and Datagram namespace.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for NetBenchFlow
impl !Sync for NetBenchFlow
impl !UnwindSafe for NetBenchFlow
impl Freeze for NetBenchFlow
impl Send for NetBenchFlow
impl Unpin for NetBenchFlow
impl UnsafeUnpin for NetBenchFlow
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