Struct stemjail::config::portal::Portal [] [src]

pub struct Portal {
    // some fields omitted
}

Methods

impl Portal

fn new(configs: Vec<ProfileConfig>, confined: bool) -> Portal

fn profile<T>(&self, name: T) -> Option<&ProfileConfig> where T: AsRef<str>

fn allow(&mut self, acl: &Vec<Arc<FileAccess>>) -> Option<ArcDomain>

fn domain<T>(&mut self, name: T) -> Option<ArcDomain> where T: AsRef<str>

fn render<T>(&self, out: &mut T) -> Result<()> where T: Write

fn is_confined(&self) -> bool

Trait Implementations

impl Display for Portal

fn fmt(&self, out: &mut Formatter) -> Result