pub struct CuLogMon { /* private fields */ }Trait Implementations§
Source§impl CuMonitor for CuLogMon
impl CuMonitor for CuLogMon
Source§fn new(
metadata: CuMonitoringMetadata,
_runtime: CuMonitoringRuntime,
) -> CuResult<Self>
fn new( metadata: CuMonitoringMetadata, _runtime: CuMonitoringRuntime, ) -> CuResult<Self>
Construct the monitor once, before component execution starts. Read more
Source§fn start(&mut self, ctx: &CuContext) -> CuResult<()>
fn start(&mut self, ctx: &CuContext) -> CuResult<()>
Called once before processing the first CopperList.
Source§fn process_copperlist(
&self,
ctx: &CuContext,
view: CopperListView<'_>,
) -> CuResult<()>
fn process_copperlist( &self, ctx: &CuContext, view: CopperListView<'_>, ) -> CuResult<()>
Called once per processed CopperList after component execution.
Source§fn process_error(
&self,
component_id: ComponentId,
step: CuComponentState,
error: &CuError,
) -> Decision
fn process_error( &self, component_id: ComponentId, step: CuComponentState, error: &CuError, ) -> Decision
Called when a monitored component step fails; must return an immediate runtime decision. Read more
Source§fn observe_copperlist_io(&self, _stats: CopperListIoStats)
fn observe_copperlist_io(&self, _stats: CopperListIoStats)
Called when runtime finishes CopperList serialization/IO accounting.
Source§fn process_panic(&self, _panic_message: &str)
fn process_panic(&self, _panic_message: &str)
Called when the runtime catches a panic (
std builds).Auto Trait Implementations§
impl !Freeze for CuLogMon
impl !RefUnwindSafe for CuLogMon
impl Send for CuLogMon
impl Sync for CuLogMon
impl Unpin for CuLogMon
impl UnsafeUnpin for CuLogMon
impl UnwindSafe for CuLogMon
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