pub enum PaperPolicy {
Auto,
Lfu,
Fifo,
Clock,
Sieve,
Lru,
Mru,
TwoQ(f64, f64),
Arc,
SThreeFifo(f64),
}Variants§
Trait Implementations§
Source§impl Clone for PaperPolicy
impl Clone for PaperPolicy
Source§fn clone(&self) -> PaperPolicy
fn clone(&self) -> PaperPolicy
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 PaperPolicy
Source§impl Debug for PaperPolicy
impl Debug for PaperPolicy
Source§impl Display for PaperPolicy
impl Display for PaperPolicy
Source§impl FromStr for PaperPolicy
impl FromStr for PaperPolicy
Source§impl PartialEq for PaperPolicy
impl PartialEq for PaperPolicy
Source§fn eq(&self, other: &PaperPolicy) -> bool
fn eq(&self, other: &PaperPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PaperPolicy
Auto Trait Implementations§
impl Freeze for PaperPolicy
impl RefUnwindSafe for PaperPolicy
impl Send for PaperPolicy
impl Sync for PaperPolicy
impl Unpin for PaperPolicy
impl UnsafeUnpin for PaperPolicy
impl UnwindSafe for PaperPolicy
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