Struct s2n_netbench::trace::Logger
source · pub struct Logger<O: Output> { /* private fields */ }
Implementations§
Trait Implementations§
source§impl<O: Output> Trace for Logger<O>
impl<O: Output> Trace for Logger<O>
fn enter_connection(&mut self, id: u64)
fn exec(&mut self, now: Timestamp, op: &Connection)
fn exec_client(&mut self, now: Timestamp, op: &Client)
fn enter(&mut self, _now: Timestamp, scope: u64, thread: usize)
fn exit(&mut self, _now: Timestamp)
fn send(&mut self, now: Timestamp, stream_id: u64, len: u64)
fn send_finish(&mut self, now: Timestamp, stream_id: u64)
fn receive(&mut self, now: Timestamp, stream_id: u64, len: u64)
fn receive_finish(&mut self, now: Timestamp, stream_id: u64)
fn accept(&mut self, now: Timestamp, stream_id: u64)
fn open(&mut self, now: Timestamp, stream_id: u64)
fn trace(&mut self, now: Timestamp, id: u64)
fn profile(&mut self, now: Timestamp, id: u64, time: Duration)
fn park(&mut self, now: Timestamp, id: u64)
fn unpark(&mut self, now: Timestamp, id: u64)
fn connect(&mut self, now: Timestamp, connection_id: u64, time: Duration)
Auto Trait Implementations§
impl<O> RefUnwindSafe for Logger<O>where
O: RefUnwindSafe,
impl<O> Send for Logger<O>where
O: Send,
impl<O> Sync for Logger<O>where
O: Sync,
impl<O> Unpin for Logger<O>where
O: Unpin,
impl<O> UnwindSafe for Logger<O>where
O: UnwindSafe,
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