pub struct CuLogMon { /* private fields */ }Trait Implementations§
Source§impl CuMonitor for CuLogMon
impl CuMonitor for CuLogMon
fn new(_config: &CuConfig, taskids: &'static [&'static str]) -> CuResult<Self>
fn start(&mut self, clock: &RobotClock) -> CuResult<()>
Source§fn process_copperlist(&self, msgs: &[&CuMsgMetadata]) -> CuResult<()>
fn process_copperlist(&self, msgs: &[&CuMsgMetadata]) -> CuResult<()>
Callback that will be trigger at the end of every copperlist (before, on or after the serialization).
Source§fn process_error(
&self,
taskid: usize,
step: CuTaskState,
error: &CuError,
) -> Decision
fn process_error( &self, taskid: usize, step: CuTaskState, error: &CuError, ) -> Decision
Callbacked when a Task errored out. The runtime requires an immediate decision.
fn set_topology(&mut self, _topology: MonitorTopology)
fn set_copperlist_info(&mut self, _info: CopperListInfo)
Source§fn observe_copperlist_io(&self, _stats: CopperListIoStats)
fn observe_copperlist_io(&self, _stats: CopperListIoStats)
Called when the runtime finishes serializing a CopperList, giving IO accounting data.
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