#[repr(u32)]pub enum DestinationOrderKind {
ByReceptionTimestamp = 0,
BySourceTimestamp = 1,
}Expand description
DestinationOrder-Kind.
Variants§
ByReceptionTimestamp = 0
Order by Reception-Timestamp (default).
BySourceTimestamp = 1
Order by Source-Timestamp.
Implementations§
Source§impl DestinationOrderKind
impl DestinationOrderKind
Sourcepub const fn try_from_u32(v: u32) -> Option<DestinationOrderKind>
pub const fn try_from_u32(v: u32) -> Option<DestinationOrderKind>
Strikter Mapper.
Sourcepub const fn from_u32(v: u32) -> DestinationOrderKind
pub const fn from_u32(v: u32) -> DestinationOrderKind
Forward-kompatibler Mapper.
Trait Implementations§
Source§impl Clone for DestinationOrderKind
impl Clone for DestinationOrderKind
Source§fn clone(&self) -> DestinationOrderKind
fn clone(&self) -> DestinationOrderKind
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 moreSource§impl Debug for DestinationOrderKind
impl Debug for DestinationOrderKind
Source§impl Default for DestinationOrderKind
impl Default for DestinationOrderKind
Source§fn default() -> DestinationOrderKind
fn default() -> DestinationOrderKind
Returns the “default value” for a type. Read more
Source§impl Ord for DestinationOrderKind
impl Ord for DestinationOrderKind
Source§fn cmp(&self, other: &DestinationOrderKind) -> Ordering
fn cmp(&self, other: &DestinationOrderKind) -> Ordering
1.21.0 (const: unstable) · 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 DestinationOrderKind
impl PartialEq for DestinationOrderKind
Source§fn eq(&self, other: &DestinationOrderKind) -> bool
fn eq(&self, other: &DestinationOrderKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for DestinationOrderKind
impl PartialOrd for DestinationOrderKind
impl Copy for DestinationOrderKind
impl Eq for DestinationOrderKind
impl StructuralPartialEq for DestinationOrderKind
Auto Trait Implementations§
impl Freeze for DestinationOrderKind
impl RefUnwindSafe for DestinationOrderKind
impl Send for DestinationOrderKind
impl Sync for DestinationOrderKind
impl Unpin for DestinationOrderKind
impl UnsafeUnpin for DestinationOrderKind
impl UnwindSafe for DestinationOrderKind
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