[][src]Enum rctl::SubjectType

pub enum SubjectType {
    Process,
    Jail,
    User,
    LoginClass,
}

The type of a [Subject].

Variants

Process
Jail
User
LoginClass

Implementations

impl SubjectType[src]

pub fn as_str(&self) -> &'static str[src]

Trait Implementations

impl Clone for SubjectType[src]

impl Copy for SubjectType[src]

impl Debug for SubjectType[src]

impl Display for SubjectType[src]

impl Eq for SubjectType[src]

impl<'a> From<&'a Subject> for SubjectType[src]

impl<'a> From<&'a SubjectType> for Filter[src]

impl From<SubjectType> for Filter[src]

impl FromStr for SubjectType[src]

type Err = ParseError

The associated error which can be returned from parsing.

impl Hash for SubjectType[src]

impl<'a> Into<&'static str> for &'a SubjectType[src]

impl<'a> Into<String> for &'a SubjectType[src]

impl PartialEq<SubjectType> for SubjectType[src]

impl StructuralEq for SubjectType[src]

impl StructuralPartialEq for SubjectType[src]

Auto Trait Implementations

impl RefUnwindSafe for SubjectType

impl Send for SubjectType

impl Sync for SubjectType

impl Unpin for SubjectType

impl UnwindSafe for SubjectType

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.