pub enum AuthMode {
Enforce,
Record,
RecordAllowNonRoot,
}
Expand description
Select the auth mode to apply to the simulation
Variants§
Enforce
Always enforcement mode, even with an empty list of auths
Record
Always recording mode, failing if any auth exists
RecordAllowNonRoot
Like AuthMode::Record but allowing non-root authorization
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AuthMode
impl RefUnwindSafe for AuthMode
impl Send for AuthMode
impl Sync for AuthMode
impl Unpin for AuthMode
impl UnwindSafe for AuthMode
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