pub struct DiskGuardDiagnostics {
pub enabled: bool,
pub effective_reserve_bytes: Option<u64>,
pub reserve_source: Option<String>,
pub guard_deadline_ms: Option<u64>,
pub deadline_source: Option<String>,
pub probe_path: Option<String>,
pub volume_identity: Option<String>,
pub volume_root: Option<String>,
pub unavailable_reason: Option<String>,
}Expand description
The configured write-admission reserve and the volume metadata used to sample it. The reserve is an admission floor, not reserved disk capacity.
Fields§
§enabled: bool§effective_reserve_bytes: Option<u64>§reserve_source: Option<String>§guard_deadline_ms: Option<u64>§deadline_source: Option<String>§probe_path: Option<String>§volume_identity: Option<String>§volume_root: Option<String>Trait Implementations§
Source§impl Clone for DiskGuardDiagnostics
impl Clone for DiskGuardDiagnostics
Source§impl Debug for DiskGuardDiagnostics
impl Debug for DiskGuardDiagnostics
impl Eq for DiskGuardDiagnostics
Source§impl PartialEq for DiskGuardDiagnostics
impl PartialEq for DiskGuardDiagnostics
Source§impl Serialize for DiskGuardDiagnostics
impl Serialize for DiskGuardDiagnostics
impl StructuralPartialEq for DiskGuardDiagnostics
Auto Trait Implementations§
impl Freeze for DiskGuardDiagnostics
impl RefUnwindSafe for DiskGuardDiagnostics
impl Send for DiskGuardDiagnostics
impl Sync for DiskGuardDiagnostics
impl Unpin for DiskGuardDiagnostics
impl UnsafeUnpin for DiskGuardDiagnostics
impl UnwindSafe for DiskGuardDiagnostics
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more