Enum dockertest::LogAction
source · pub enum LogAction {
Forward,
ForwardToFile {
path: String,
},
ForwardToStdOut,
ForwardToStdErr,
}
Expand description
Specifies how should dockertest should handle log output from this container.
Variants§
Forward
Forward all outputs to their respective output sources of the dockertest process.
ForwardToFile
Forward LogSource outputs to a specified file.
ForwardToStdOut
Forward LogSource outputs to stdout of the dockertest process.
ForwardToStdErr
Forward LogSource outputs to stderr of the dockertest process.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for LogAction
impl Send for LogAction
impl Sync for LogAction
impl Unpin for LogAction
impl UnwindSafe for LogAction
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