pub struct LogEffectParams<'a> {
pub workspace: &'a dyn Workspace,
pub log_path: &'a Path,
pub phase: PipelinePhase,
pub effect: &'a str,
pub primary_event: &'a str,
pub extra_events: &'a [String],
pub duration_ms: u64,
pub context: &'a [(&'a str, &'a str)],
}Expand description
Parameters for logging an effect execution.
Fields§
§workspace: &'a dyn Workspace§log_path: &'a Path§phase: PipelinePhase§effect: &'a str§primary_event: &'a str§extra_events: &'a [String]§duration_ms: u64§context: &'a [(&'a str, &'a str)]Auto Trait Implementations§
impl<'a> Freeze for LogEffectParams<'a>
impl<'a> !RefUnwindSafe for LogEffectParams<'a>
impl<'a> Send for LogEffectParams<'a>
impl<'a> Sync for LogEffectParams<'a>
impl<'a> Unpin for LogEffectParams<'a>
impl<'a> !UnwindSafe for LogEffectParams<'a>
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more