#[repr(u32)]pub enum ServiceDirection {
Client = 1,
Server = 2,
}Expand description
Service direction for transactions
§XDR Definition (sFlow Discussion)
enum service_direction {
client = 1,
server = 2
}Variants§
Trait Implementations§
Source§impl Clone for ServiceDirection
impl Clone for ServiceDirection
Source§fn clone(&self) -> ServiceDirection
fn clone(&self) -> ServiceDirection
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 moreimpl Copy for ServiceDirection
Source§impl Debug for ServiceDirection
impl Debug for ServiceDirection
impl Eq for ServiceDirection
Source§impl From<u32> for ServiceDirection
impl From<u32> for ServiceDirection
Source§impl PartialEq for ServiceDirection
impl PartialEq for ServiceDirection
Source§fn eq(&self, other: &ServiceDirection) -> bool
fn eq(&self, other: &ServiceDirection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ServiceDirection
Auto Trait Implementations§
impl Freeze for ServiceDirection
impl RefUnwindSafe for ServiceDirection
impl Send for ServiceDirection
impl Sync for ServiceDirection
impl Unpin for ServiceDirection
impl UnsafeUnpin for ServiceDirection
impl UnwindSafe for ServiceDirection
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