pub fn pmf_mode(&self) -> ProtectedManagementFramesMode {
        if self.capabilities.intersects(RsnCapabilities::PMF_REQUIRED) {
            return ProtectedManagementFramesMode::Required;
        } else if self.capabilities.intersects(RsnCapabilities::PMF_CAPABLE) {
            return ProtectedManagementFramesMode::Capable;
        }
        ProtectedManagementFramesMode::Disabled
    }
/// Get the protected management frame mode of the robust security network element
Get the protected management frame mode of the robust security network element
Get the protected management frame mode of the robust security network element
pub fn pmf_mode(&self) -> ProtectedManagementFramesMode {
        if self.capabilities.intersects(RsnCapabilities::PMF_REQUIRED) {
            return ProtectedManagementFramesMode::Required;
        } else if self.capabilities.intersects(RsnCapabilities::PMF_CAPABLE) {
            return ProtectedManagementFramesMode::Capable;
        }
        ProtectedManagementFramesMode::Disabled
    }
pub fn pmf_mode ( & self ) -> ProtectedManagementFramesMode { if self . capabilities . intersects ( RsnCapabilities :: PMF_REQUIRED ) { return ProtectedManagementFramesMode :: Required ; } else if self . capabilities . intersects ( RsnCapabilities :: PMF_CAPABLE ) { return ProtectedManagementFramesMode :: Capable ; } ProtectedManagementFramesMode :: Disabled }
Get the protected management frame mode of the robust security network element
Get the protected management frame mode of the robust security network element
&self
&self