Struct mz_metrics::lgalloc::FileStatsAccum
source · struct FileStatsAccum {
pub file_size: usize,
pub allocated_size: usize,
pub mapped: usize,
pub active: usize,
pub dirty: usize,
}
Expand description
An accumulator for FileStats
.
Fields§
§file_size: usize
The size of the file in bytes.
allocated_size: usize
Size of the file on disk in bytes.
mapped: usize
Number of mapped bytes, if different from dirty
. Consult man 7 numa
for details.
active: usize
Number of active bytes. Consult man 7 numa
for details.
dirty: usize
Number of dirty bytes. Consult man 7 numa
for details.
Trait Implementations§
source§impl AddAssign<&FileStats> for FileStatsAccum
impl AddAssign<&FileStats> for FileStatsAccum
source§fn add_assign(&mut self, rhs: &FileStats)
fn add_assign(&mut self, rhs: &FileStats)
Performs the
+=
operation. Read moresource§impl Default for FileStatsAccum
impl Default for FileStatsAccum
source§fn default() -> FileStatsAccum
fn default() -> FileStatsAccum
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FileStatsAccum
impl RefUnwindSafe for FileStatsAccum
impl Send for FileStatsAccum
impl Sync for FileStatsAccum
impl Unpin for FileStatsAccum
impl UnwindSafe for FileStatsAccum
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
source§impl<T> FutureExt for T
impl<T> FutureExt for T
source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request