pub struct Time { /* private fields */ }Expand description
Enable syscalls related to time.
Implementations§
Trait Implementations§
Source§impl RuleSet for Time
impl RuleSet for Time
Source§fn simple_rules(&self) -> Vec<Sysno>
fn simple_rules(&self) -> Vec<Sysno>
A simple rule is a seccomp rule that just allows the syscall without restriction.
Source§fn conditional_rules(&self) -> HashMap<Sysno, Vec<SeccompRule>>
fn conditional_rules(&self) -> HashMap<Sysno, Vec<SeccompRule>>
A conditional rule is a seccomp rule that uses a condition to restrict the syscall, e.g. only
specific flags as parameters.
Auto Trait Implementations§
impl Freeze for Time
impl RefUnwindSafe for Time
impl Send for Time
impl Sync for Time
impl Unpin for Time
impl UnwindSafe for Time
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