pub enum ProfiledPath {
System,
Home,
Checkout,
}Expand description
Which shipped profile names a binary path: the three kinds of path a mur-sealed profile
attaches to.
Variants§
System
/usr/local/bin/mur, /usr/bin/mur or /opt/mur/bin/mur, named by mur-sealed.
Home
~/.local/bin/mur or ~/.cargo/bin/mur under /home/<user> or /root, named by
mur-sealed-home.
Checkout
<checkout>/target/{debug,release}/mur, named by the mur-sealed-dev profile
scripts/install-dev-apparmor.sh generates for one checkout.
Implementations§
Source§impl ProfiledPath
impl ProfiledPath
Sourcepub fn profile_name(self) -> &'static str
pub fn profile_name(self) -> &'static str
The name of the profile that names this kind of path, as the kernel lists it.
Trait Implementations§
Source§impl Clone for ProfiledPath
impl Clone for ProfiledPath
impl Copy for ProfiledPath
Source§impl Debug for ProfiledPath
impl Debug for ProfiledPath
impl Eq for ProfiledPath
Source§impl Hash for ProfiledPath
impl Hash for ProfiledPath
Source§impl PartialEq for ProfiledPath
impl PartialEq for ProfiledPath
impl StructuralPartialEq for ProfiledPath
Auto Trait Implementations§
impl Forget for ProfiledPath
impl Freeze for ProfiledPath
impl Move for ProfiledPath
impl RefUnwindSafe for ProfiledPath
impl Send for ProfiledPath
impl Sync for ProfiledPath
impl Unpin for ProfiledPath
impl UnsafeUnpin for ProfiledPath
impl UnwindSafe for ProfiledPath
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more