pub struct DomainTransition {
pub source_type: &'static str,
pub target_type: &'static str,
pub class: &'static str,
pub new_type: &'static str,
}Expand description
Domain transition rule.
When a process of type source_type executes a binary labeled as
target_type of object class class, the process transitions to
new_type.
Fields§
§source_type: &'static strSource process type
target_type: &'static strTarget file/object type
class: &'static strObject class (e.g. “process”, “file”)
new_type: &'static strNew type after transition
Implementations§
Trait Implementations§
Source§impl Clone for DomainTransition
impl Clone for DomainTransition
Source§fn clone(&self) -> DomainTransition
fn clone(&self) -> DomainTransition
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DomainTransition
impl Debug for DomainTransition
impl Copy for DomainTransition
Auto Trait Implementations§
impl Freeze for DomainTransition
impl RefUnwindSafe for DomainTransition
impl Send for DomainTransition
impl Sync for DomainTransition
impl Unpin for DomainTransition
impl UnwindSafe for DomainTransition
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)