pub enum ReceivedStatsArg {
None,
Count,
Window,
Both,
}Variants§
Trait Implementations§
Source§impl Clone for ReceivedStatsArg
impl Clone for ReceivedStatsArg
Source§fn clone(&self) -> ReceivedStatsArg
fn clone(&self) -> ReceivedStatsArg
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 ReceivedStatsArg
impl Debug for ReceivedStatsArg
Source§impl From<ReceivedStatsArg> for ReceivedStats
impl From<ReceivedStatsArg> for ReceivedStats
Source§fn from(value: ReceivedStatsArg) -> Self
fn from(value: ReceivedStatsArg) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ReceivedStatsArg
impl PartialEq for ReceivedStatsArg
Source§fn eq(&self, other: &ReceivedStatsArg) -> bool
fn eq(&self, other: &ReceivedStatsArg) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl ValueEnum for ReceivedStatsArg
impl ValueEnum for ReceivedStatsArg
impl Copy for ReceivedStatsArg
impl Eq for ReceivedStatsArg
impl StructuralPartialEq for ReceivedStatsArg
Auto Trait Implementations§
impl Freeze for ReceivedStatsArg
impl RefUnwindSafe for ReceivedStatsArg
impl Send for ReceivedStatsArg
impl Sync for ReceivedStatsArg
impl Unpin for ReceivedStatsArg
impl UnsafeUnpin for ReceivedStatsArg
impl UnwindSafe for ReceivedStatsArg
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