#[non_exhaustive]#[repr(u32)]pub enum SessionAttr {
Transport = 0,
RemoteAddr = 1,
LocalAddr = 2,
ClientAddr = 3,
ServerAddr = 4,
ClientIp = 5,
ClientPort = 6,
ProxyTlv = 7,
ProtoPriv = 8,
Last = 9,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Transport = 0
RemoteAddr = 1
LocalAddr = 2
ClientAddr = 3
ServerAddr = 4
ClientIp = 5
ClientPort = 6
ProxyTlv = 7
ProtoPriv = 8
Last = 9
Trait Implementations§
Source§impl Clone for SessionAttr
impl Clone for SessionAttr
Source§fn clone(&self) -> SessionAttr
fn clone(&self) -> SessionAttr
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 Debug for SessionAttr
impl Debug for SessionAttr
Source§impl Hash for SessionAttr
impl Hash for SessionAttr
Source§impl PartialEq for SessionAttr
impl PartialEq for SessionAttr
impl Copy for SessionAttr
impl Eq for SessionAttr
impl StructuralPartialEq for SessionAttr
Auto Trait Implementations§
impl Freeze for SessionAttr
impl RefUnwindSafe for SessionAttr
impl Send for SessionAttr
impl Sync for SessionAttr
impl Unpin for SessionAttr
impl UnwindSafe for SessionAttr
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