pub enum DiskEpisodeKind {
Stall,
Throttle,
}Expand description
Kind of dynamic disk-degradation episode currently affecting a process’s disk.
Models FoundationDB’s DiskFailureInjector (getDiskDelay()): real disks
degrade episodically rather than at a fixed steady-state rate.
Variants§
Stall
Disk is frozen until the episode expires; I/O waits out the remaining window.
Throttle
Effective IOPS/bandwidth are reduced for the duration of the episode.
Trait Implementations§
Source§impl Clone for DiskEpisodeKind
impl Clone for DiskEpisodeKind
Source§fn clone(&self) -> DiskEpisodeKind
fn clone(&self) -> DiskEpisodeKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DiskEpisodeKind
Source§impl Debug for DiskEpisodeKind
impl Debug for DiskEpisodeKind
impl Eq for DiskEpisodeKind
Source§impl PartialEq for DiskEpisodeKind
impl PartialEq for DiskEpisodeKind
Source§fn eq(&self, other: &DiskEpisodeKind) -> bool
fn eq(&self, other: &DiskEpisodeKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DiskEpisodeKind
Auto Trait Implementations§
impl Freeze for DiskEpisodeKind
impl RefUnwindSafe for DiskEpisodeKind
impl Send for DiskEpisodeKind
impl Sync for DiskEpisodeKind
impl Unpin for DiskEpisodeKind
impl UnsafeUnpin for DiskEpisodeKind
impl UnwindSafe for DiskEpisodeKind
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