pub struct BarrierAudit { /* private fields */ }Expand description
Records which file or directory each barrier attempt reached, for as long as it lives: an exact inventory of barriers per inode. The counters above say how many barriers ran; this says on what. Barriers on every thread of the process are recorded, so it is meant for single-purpose processes and tests that serialize their measurements. The log grows by one entry per barrier.
Implementations§
Source§impl BarrierAudit
impl BarrierAudit
Sourcepub fn finish(self) -> BarrierLog
pub fn finish(self) -> BarrierLog
The barriers attempted since BarrierAudit::start, in order.
Trait Implementations§
Source§impl Debug for BarrierAudit
impl Debug for BarrierAudit
Source§impl Drop for BarrierAudit
impl Drop for BarrierAudit
Auto Trait Implementations§
impl Freeze for BarrierAudit
impl RefUnwindSafe for BarrierAudit
impl Send for BarrierAudit
impl Sync for BarrierAudit
impl Unpin for BarrierAudit
impl UnsafeUnpin for BarrierAudit
impl UnwindSafe for BarrierAudit
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