Skip to main content

SeLinuxStatusPublisher

Trait SeLinuxStatusPublisher 

Source
pub trait SeLinuxStatusPublisher: Send + Sync {
    // Required method
    fn set_status(&mut self, policy_status: SeLinuxStatus);
}
Expand description

Interface for security server to interact with selinuxfs status file.

Required Methods§

Source

fn set_status(&mut self, policy_status: SeLinuxStatus)

Sets the value part of the associated selinuxfs status file.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§