pub enum SortKey {
Size,
Count,
Mtime,
Name,
Metric(&'static str),
}Expand description
Which key results are ordered by.
Variants§
Size
Bytes, in the selected metric.
Count
Entry counts.
Mtime
Newest modification time.
Name
Path or name, lexicographically.
Metric(&'static str)
One numeric content metric named by the shared metric registry.
Trait Implementations§
impl Copy for SortKey
impl Eq for SortKey
impl StructuralPartialEq for SortKey
Auto Trait Implementations§
impl Freeze for SortKey
impl RefUnwindSafe for SortKey
impl Send for SortKey
impl Sync for SortKey
impl Unpin for SortKey
impl UnsafeUnpin for SortKey
impl UnwindSafe for SortKey
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