pub enum ExportMode {
BerkeleyPacketFilter,
PseudoFiltercode,
}Expand description
Seccomp sandbox profile export modes.
Variants§
BerkeleyPacketFilter
Berkeley Packet Filter (binary, machine readable)
PseudoFiltercode
Pseudo Filter Code (text, human readable)
Implementations§
Source§impl ExportMode
impl ExportMode
Sourcepub fn from_env() -> Option<ExportMode>
pub fn from_env() -> Option<ExportMode>
Return the export mode specified by the environment.
Trait Implementations§
Source§impl Clone for ExportMode
impl Clone for ExportMode
Source§fn clone(&self) -> ExportMode
fn clone(&self) -> ExportMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExportMode
impl Debug for ExportMode
Source§impl FromStr for ExportMode
impl FromStr for ExportMode
Source§impl PartialEq for ExportMode
impl PartialEq for ExportMode
impl Copy for ExportMode
impl Eq for ExportMode
impl StructuralPartialEq for ExportMode
Auto Trait Implementations§
impl Freeze for ExportMode
impl RefUnwindSafe for ExportMode
impl Send for ExportMode
impl Sync for ExportMode
impl Unpin for ExportMode
impl UnwindSafe for ExportMode
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.