Enum linux_raw_sys::netlink::ifla_gtp_role  
source · #[non_exhaustive]#[repr(u32)]pub enum ifla_gtp_role {
    GTP_ROLE_GGSN = 0,
    GTP_ROLE_SGSN = 1,
}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.
Trait Implementations§
source§impl Clone for ifla_gtp_role
 
impl Clone for ifla_gtp_role
source§fn clone(&self) -> ifla_gtp_role
 
fn clone(&self) -> ifla_gtp_role
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 ifla_gtp_role
 
impl Debug for ifla_gtp_role
source§impl Hash for ifla_gtp_role
 
impl Hash for ifla_gtp_role
source§impl PartialEq for ifla_gtp_role
 
impl PartialEq for ifla_gtp_role
source§fn eq(&self, other: &ifla_gtp_role) -> bool
 
fn eq(&self, other: &ifla_gtp_role) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl Copy for ifla_gtp_role
impl Eq for ifla_gtp_role
impl StructuralPartialEq for ifla_gtp_role
Auto Trait Implementations§
impl Freeze for ifla_gtp_role
impl RefUnwindSafe for ifla_gtp_role
impl Send for ifla_gtp_role
impl Sync for ifla_gtp_role
impl Unpin for ifla_gtp_role
impl UnwindSafe for ifla_gtp_role
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