#[repr(C)]pub enum Threshold {
Level1 = 0,
Level2 = 1,
Level3 = 2,
Level4 = 3,
Level5 = 4,
}
Variants§
Level1 = 0
FIFO ≤ 1/8 full
Level2 = 1
FIFO ≤ 1/4 full
Level3 = 2
FIFO ≤ 1/2 full
Level4 = 3
FIFO ≤ 3/4 full
Level5 = 4
FIFO ≤ 7/8 full
Trait Implementations§
Source§impl Ord for Threshold
impl Ord for Threshold
Source§impl PartialOrd for Threshold
impl PartialOrd for Threshold
impl Copy for Threshold
impl Eq for Threshold
impl StructuralPartialEq for Threshold
Auto Trait Implementations§
impl Freeze for Threshold
impl RefUnwindSafe for Threshold
impl Send for Threshold
impl Sync for Threshold
impl Unpin for Threshold
impl UnwindSafe for Threshold
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)