#[repr(u8)]pub enum PressureState {
Normal = 0,
Throttled = 1,
Suspended = 2,
}Expand description
Current backpressure state.
Variants§
Normal = 0
Full speed — all I/O permitted.
Throttled = 1
Reduced read depth — Data Plane should limit concurrent io_uring reads.
Suspended = 2
New reads suspended — only replay-critical I/O permitted.
Trait Implementations§
Source§impl Clone for PressureState
impl Clone for PressureState
Source§fn clone(&self) -> PressureState
fn clone(&self) -> PressureState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PressureState
impl Debug for PressureState
Source§impl PartialEq for PressureState
impl PartialEq for PressureState
impl Copy for PressureState
impl Eq for PressureState
impl StructuralPartialEq for PressureState
Auto Trait Implementations§
impl Freeze for PressureState
impl RefUnwindSafe for PressureState
impl Send for PressureState
impl Sync for PressureState
impl Unpin for PressureState
impl UnsafeUnpin for PressureState
impl UnwindSafe for PressureState
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