pub struct LoggingExecutor { /* private fields */ }Available on crate feature
std only.Expand description
Records intended actions to a log file (and optionally stdout).
Implementations§
Source§impl LoggingExecutor
impl LoggingExecutor
Sourcepub fn new(allowed: impl IntoIterator<Item = String>) -> Self
pub fn new(allowed: impl IntoIterator<Item = String>) -> Self
Creates a new value of this type.
Sourcepub fn with_log_file(self, path: impl AsRef<Path>) -> Self
pub fn with_log_file(self, path: impl AsRef<Path>) -> Self
Creates or updates a value with log file.
Sourcepub fn echo_stdout(self, enabled: bool) -> Self
pub fn echo_stdout(self, enabled: bool) -> Self
Performs echo stdout for this type.
Trait Implementations§
Auto Trait Implementations§
impl Forget for LoggingExecutor
impl Freeze for LoggingExecutorwhere
PhantomData<fn() -> AHasher>: Freeze,
*const u8 is !null: Freeze,
PhantomData<(String, ())>: Freeze,
PhantomData<u8>: Freeze,
impl Move for LoggingExecutor
impl RefUnwindSafe for LoggingExecutor
impl Send for LoggingExecutor
impl Sync for LoggingExecutor
impl Unpin for LoggingExecutor
impl UnsafeUnpin for LoggingExecutorwhere
PhantomData<fn() -> AHasher>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<(String, ())>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for LoggingExecutor
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