pub enum SortingOrder {
SentMono,
SentReal,
RecvMono,
RecvReal,
Default,
}Expand description
Enumeration for timestamp-based log sorting orderings.
For more detailed information on the timestamp documentation, refer to the C library documentation.
Variants§
SentMono
Monotonic timestamp applied by the sender.
SentReal
Real-time timestamp applied by the sender.
RecvMono
Monotonic timestamp applied by the receiver.
RecvReal
Real-time timestamp applied by the receiver.
Default
The default timestamp of the buffer. See buffer_get_default_ts_type.
Trait Implementations§
Source§impl Clone for SortingOrder
impl Clone for SortingOrder
Source§fn clone(&self) -> SortingOrder
fn clone(&self) -> SortingOrder
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 SortingOrder
impl Debug for SortingOrder
Source§impl From<SortingOrder> for dlogutil_sorting_order
impl From<SortingOrder> for dlogutil_sorting_order
Source§fn from(rust_enum: SortingOrder) -> Self
fn from(rust_enum: SortingOrder) -> Self
Converts to this type from the input type.
Source§impl From<dlogutil_sorting_order> for SortingOrder
impl From<dlogutil_sorting_order> for SortingOrder
Source§fn from(c_enum: dlogutil_sorting_order) -> Self
fn from(c_enum: dlogutil_sorting_order) -> Self
Converts to this type from the input type.
Source§impl Ord for SortingOrder
impl Ord for SortingOrder
Source§fn cmp(&self, other: &SortingOrder) -> Ordering
fn cmp(&self, other: &SortingOrder) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SortingOrder
impl PartialEq for SortingOrder
Source§impl PartialOrd for SortingOrder
impl PartialOrd for SortingOrder
impl Copy for SortingOrder
impl Eq for SortingOrder
impl StructuralPartialEq for SortingOrder
Auto Trait Implementations§
impl Freeze for SortingOrder
impl RefUnwindSafe for SortingOrder
impl Send for SortingOrder
impl Sync for SortingOrder
impl Unpin for SortingOrder
impl UnwindSafe for SortingOrder
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