Struct networking_metrics_registry::networking_metrics_registry::SocketOptionOperationMaxEventCodes
source · pub struct SocketOptionOperationMaxEventCodes {
pub operation: SocketOptionOperationMaxMetricDimensionOperation,
pub socket_option: SocketOptionOperationMaxMetricDimensionSocketOption,
}
Fields§
§operation: SocketOptionOperationMaxMetricDimensionOperation
§socket_option: SocketOptionOperationMaxMetricDimensionSocketOption
Trait Implementations§
source§impl AsEventCodes for SocketOptionOperationMaxEventCodes
impl AsEventCodes for SocketOptionOperationMaxEventCodes
source§fn as_event_codes(&self) -> Vec<u32>
fn as_event_codes(&self) -> Vec<u32>
Converts the source type into a
Vec<u32>
of event codes.source§impl Clone for SocketOptionOperationMaxEventCodes
impl Clone for SocketOptionOperationMaxEventCodes
source§fn clone(&self) -> SocketOptionOperationMaxEventCodes
fn clone(&self) -> SocketOptionOperationMaxEventCodes
Returns a copy 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 Ord for SocketOptionOperationMaxEventCodes
impl Ord for SocketOptionOperationMaxEventCodes
source§fn cmp(&self, other: &SocketOptionOperationMaxEventCodes) -> Ordering
fn cmp(&self, other: &SocketOptionOperationMaxEventCodes) -> 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 SocketOptionOperationMaxEventCodes
impl PartialEq for SocketOptionOperationMaxEventCodes
source§fn eq(&self, other: &SocketOptionOperationMaxEventCodes) -> bool
fn eq(&self, other: &SocketOptionOperationMaxEventCodes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SocketOptionOperationMaxEventCodes
impl PartialOrd for SocketOptionOperationMaxEventCodes
source§fn partial_cmp(
&self,
other: &SocketOptionOperationMaxEventCodes,
) -> Option<Ordering>
fn partial_cmp( &self, other: &SocketOptionOperationMaxEventCodes, ) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for SocketOptionOperationMaxEventCodes
impl Eq for SocketOptionOperationMaxEventCodes
impl StructuralPartialEq for SocketOptionOperationMaxEventCodes
Auto Trait Implementations§
impl Freeze for SocketOptionOperationMaxEventCodes
impl RefUnwindSafe for SocketOptionOperationMaxEventCodes
impl Send for SocketOptionOperationMaxEventCodes
impl Sync for SocketOptionOperationMaxEventCodes
impl Unpin for SocketOptionOperationMaxEventCodes
impl UnwindSafe for SocketOptionOperationMaxEventCodes
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)