pub struct RequestLog { /* private fields */ }Expand description
Ring buffer of recent requests, sharded by thread; entries carry a global
sequence number so readers can merge the shards in order. Each shard keeps
up to capacity entries and readers keep the newest capacity overall —
exactly what one ring buffer held, since the newest capacity entries
overall are always among the newest capacity of their own shard.
Implementations§
Auto Trait Implementations§
impl !Freeze for RequestLog
impl RefUnwindSafe for RequestLog
impl Send for RequestLog
impl Sync for RequestLog
impl Unpin for RequestLog
impl UnsafeUnpin for RequestLog
impl UnwindSafe for RequestLog
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