#[repr(i32)]pub enum IoPriority {
Low = 0,
Mid = 1,
High = 2,
User = 3,
Total = 4,
}Expand description
Priority at which an IO operation is charged to the rate limiter set with
Options::set_ratelimiter.
Mirrors Env::IOPriority from rocksdb/include/env.h.
Variants§
Trait Implementations§
Source§impl Clone for IoPriority
impl Clone for IoPriority
Source§fn clone(&self) -> IoPriority
fn clone(&self) -> IoPriority
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 IoPriority
Source§impl Debug for IoPriority
impl Debug for IoPriority
impl Eq for IoPriority
Source§impl Hash for IoPriority
impl Hash for IoPriority
Source§impl PartialEq for IoPriority
impl PartialEq for IoPriority
impl StructuralPartialEq for IoPriority
Auto Trait Implementations§
impl Freeze for IoPriority
impl RefUnwindSafe for IoPriority
impl Send for IoPriority
impl Sync for IoPriority
impl Unpin for IoPriority
impl UnsafeUnpin for IoPriority
impl UnwindSafe for IoPriority
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