From 94defa0228f2709a45df3dd3ec134cd20e781e11 Mon Sep 17 00:00:00 2001 From: makeecat Date: Sat, 25 Jan 2025 13:42:30 +0000 Subject: [PATCH] deploy: e8a3bf49d4cba33962ef16c1cf0e727992566124 --- cu29/all.html | 2 +- cu29/config/fn.read_configuration.html | 2 +- cu29/config/fn.read_configuration_str.html | 2 +- cu29/config/index.html | 2 +- cu29/config/struct.Cnx.html | 2 +- cu29/config/struct.ComponentConfig.html | 2 +- cu29/config/struct.CuConfig.html | 2 +- cu29/config/struct.LoggingConfig.html | 2 +- cu29/config/struct.MonitorConfig.html | 2 +- cu29/config/struct.Node.html | 2 +- cu29/config/struct.Value.html | 2 +- cu29/config/type.NodeId.html | 2 +- cu29/copperlist/enum.CopperListState.html | 4 +-- cu29/copperlist/index.html | 2 +- cu29/copperlist/struct.CopperLiskMask.html | 4 +-- cu29/copperlist/struct.CopperList.html | 4 +-- cu29/copperlist/struct.CuListsManager.html | 2 +- cu29/copperlist/type.AscIter.html | 2 +- cu29/copperlist/type.AscIterMut.html | 2 +- cu29/copperlist/type.Iter.html | 2 +- cu29/copperlist/type.IterMut.html | 2 +- cu29/curuntime/enum.CuExecutionUnit.html | 2 +- cu29/curuntime/enum.CuTaskType.html | 2 +- cu29/curuntime/fn.compute_runtime_plan.html | 2 +- cu29/curuntime/fn.find_task_type_for_id.html | 2 +- cu29/curuntime/index.html | 2 +- cu29/curuntime/struct.CopperContext.html | 2 +- cu29/curuntime/struct.CuExecutionLoop.html | 2 +- cu29/curuntime/struct.CuExecutionStep.html | 2 +- cu29/curuntime/struct.CuRuntime.html | 2 +- cu29/cutask/index.html | 2 +- cu29/cutask/struct.CuCompactString.html | 4 +-- cu29/cutask/struct.CuMsg.html | 4 +-- cu29/cutask/struct.CuMsgMetadata.html | 4 +-- cu29/cutask/trait.CuMsgPack.html | 2 +- cu29/cutask/trait.CuMsgPayload.html | 2 +- cu29/cutask/trait.CuSinkTask.html | 2 +- cu29/cutask/trait.CuSrcTask.html | 2 +- cu29/cutask/trait.CuTask.html | 2 +- cu29/cutask/trait.Freezable.html | 2 +- cu29/enum.UnifiedLogType.html | 14 ++++----- cu29/fn.read_configuration.html | 2 +- cu29/index.html | 4 +-- cu29/macro.input_msg.html | 2 +- cu29/macro.output_msg.html | 2 +- cu29/monitoring/enum.CuTaskState.html | 2 +- cu29/monitoring/enum.Decision.html | 2 +- cu29/monitoring/index.html | 2 +- cu29/monitoring/static.GLOBAL.html | 2 +- cu29/monitoring/struct.CountingAllocator.html | 2 +- .../struct.CuDurationStatistics.html | 2 +- cu29/monitoring/struct.LiveStatistics.html | 2 +- cu29/monitoring/struct.NoMonitor.html | 2 +- .../monitoring/struct.ScopedAllocCounter.html | 2 +- cu29/monitoring/trait.CuMonitor.html | 2 +- cu29/payload/index.html | 2 +- cu29/payload/struct.CuArray.html | 4 +-- cu29/prelude/attr.copper_runtime.html | 2 +- .../prelude/config/fn.read_configuration.html | 2 +- .../config/fn.read_configuration_str.html | 2 +- cu29/prelude/config/index.html | 2 +- cu29/prelude/config/struct.Cnx.html | 2 +- .../config/struct.ComponentConfig.html | 2 +- cu29/prelude/config/struct.CuConfig.html | 2 +- cu29/prelude/config/struct.LoggingConfig.html | 2 +- cu29/prelude/config/struct.MonitorConfig.html | 2 +- cu29/prelude/config/struct.Node.html | 2 +- cu29/prelude/config/struct.Value.html | 2 +- cu29/prelude/config/type.NodeId.html | 2 +- cu29/prelude/constant.ANONYMOUS.html | 2 +- .../constant.MAX_LOG_PARAMS_ON_STACK.html | 2 +- .../copperlist/enum.CopperListState.html | 4 +-- cu29/prelude/copperlist/index.html | 2 +- .../copperlist/struct.CopperLiskMask.html | 4 +-- .../prelude/copperlist/struct.CopperList.html | 4 +-- .../copperlist/struct.CuListsManager.html | 2 +- cu29/prelude/copperlist/type.AscIter.html | 2 +- cu29/prelude/copperlist/type.AscIterMut.html | 2 +- cu29/prelude/copperlist/type.Iter.html | 2 +- cu29/prelude/copperlist/type.IterMut.html | 2 +- .../curuntime/enum.CuExecutionUnit.html | 2 +- cu29/prelude/curuntime/enum.CuTaskType.html | 2 +- .../curuntime/fn.compute_runtime_plan.html | 2 +- .../curuntime/fn.find_task_type_for_id.html | 2 +- cu29/prelude/curuntime/index.html | 2 +- .../curuntime/struct.CopperContext.html | 2 +- .../curuntime/struct.CuExecutionLoop.html | 2 +- .../curuntime/struct.CuExecutionStep.html | 2 +- cu29/prelude/curuntime/struct.CuRuntime.html | 2 +- cu29/prelude/cutask/index.html | 2 +- .../cutask/struct.CuCompactString.html | 4 +-- cu29/prelude/cutask/struct.CuMsg.html | 4 +-- cu29/prelude/cutask/struct.CuMsgMetadata.html | 4 +-- cu29/prelude/cutask/trait.CuMsgPack.html | 2 +- cu29/prelude/cutask/trait.CuMsgPayload.html | 2 +- cu29/prelude/cutask/trait.CuSinkTask.html | 2 +- cu29/prelude/cutask/trait.CuSrcTask.html | 2 +- cu29/prelude/cutask/trait.CuTask.html | 2 +- cu29/prelude/cutask/trait.Freezable.html | 2 +- cu29/prelude/enum.AllocatedSection.html | 2 +- cu29/prelude/enum.CopperListState.html | 4 +-- cu29/prelude/enum.CuExecutionUnit.html | 2 +- cu29/prelude/enum.CuHandleInner.html | 8 ++--- cu29/prelude/enum.CuTaskCallbackState.html | 2 +- cu29/prelude/enum.CuTaskState.html | 2 +- cu29/prelude/enum.CuTaskType.html | 2 +- cu29/prelude/enum.Decision.html | 2 +- cu29/prelude/enum.SimOverride.html | 2 +- cu29/prelude/enum.Tov.html | 18 +++++------ cu29/prelude/enum.UnifiedLogType.html | 14 ++++----- cu29/prelude/enum.UnifiedLogger.html | 2 +- cu29/prelude/enum.Value.html | 4 +-- cu29/prelude/fn.compute_runtime_plan.html | 2 +- cu29/prelude/fn.default_log_index_dir.html | 2 +- cu29/prelude/fn.find_task_type_for_id.html | 2 +- cu29/prelude/fn.format_logline.html | 2 +- cu29/prelude/fn.log.html | 2 +- cu29/prelude/fn.log_debug_mode.html | 2 +- cu29/prelude/fn.pools_statistics.html | 2 +- cu29/prelude/fn.read_configuration.html | 2 +- cu29/prelude/fn.read_configuration_str.html | 2 +- cu29/prelude/fn.read_interned_strings.html | 2 +- cu29/prelude/fn.rebuild_logline.html | 2 +- cu29/prelude/fn.stream_write.html | 2 +- cu29/prelude/fn.to_value.html | 2 +- cu29/prelude/index.html | 2 +- cu29/prelude/macro.debug.html | 2 +- cu29/prelude/macro.gen_cumsgs.html | 2 +- cu29/prelude/macro.input_msg.html | 2 +- cu29/prelude/macro.output_msg.html | 2 +- cu29/prelude/monitoring/enum.CuTaskState.html | 2 +- cu29/prelude/monitoring/enum.Decision.html | 2 +- cu29/prelude/monitoring/index.html | 2 +- cu29/prelude/monitoring/static.GLOBAL.html | 2 +- .../monitoring/struct.CountingAllocator.html | 2 +- .../struct.CuDurationStatistics.html | 2 +- .../monitoring/struct.LiveStatistics.html | 2 +- cu29/prelude/monitoring/struct.NoMonitor.html | 2 +- .../monitoring/struct.ScopedAllocCounter.html | 2 +- cu29/prelude/monitoring/trait.CuMonitor.html | 2 +- cu29/prelude/payload/index.html | 2 +- cu29/prelude/payload/struct.CuArray.html | 4 +-- cu29/prelude/pool/enum.CuHandleInner.html | 8 ++--- cu29/prelude/pool/fn.pools_statistics.html | 2 +- cu29/prelude/pool/index.html | 2 +- cu29/prelude/pool/struct.AlignedBuffer.html | 8 ++--- cu29/prelude/pool/struct.CuHandle.html | 4 +-- .../prelude/pool/struct.CuHostMemoryPool.html | 2 +- cu29/prelude/pool/trait.ArrayLike.html | 2 +- cu29/prelude/pool/trait.CuPool.html | 2 +- cu29/prelude/pool/trait.DeviceCuPool.html | 2 +- cu29/prelude/pool/trait.ElementType.html | 2 +- cu29/prelude/pool/trait.PoolMonitor.html | 2 +- .../simulation/enum.CuTaskCallbackState.html | 2 +- cu29/prelude/simulation/enum.SimOverride.html | 2 +- cu29/prelude/simulation/index.html | 2 +- .../simulation/struct.CuSimSinkTask.html | 2 +- .../simulation/struct.CuSimSrcTask.html | 2 +- cu29/prelude/static.EXTRA_TEXT_LOGGER.html | 2 +- cu29/prelude/static.GLOBAL.html | 2 +- cu29/prelude/struct.AlignedBuffer.html | 8 ++--- cu29/prelude/struct.Cnx.html | 2 +- cu29/prelude/struct.ComponentConfig.html | 2 +- cu29/prelude/struct.CopperContext.html | 2 +- cu29/prelude/struct.CopperLiskMask.html | 4 +-- cu29/prelude/struct.CopperList.html | 4 +-- cu29/prelude/struct.CountingAllocator.html | 2 +- cu29/prelude/struct.CuArray.html | 4 +-- cu29/prelude/struct.CuCompactString.html | 4 +-- cu29/prelude/struct.CuConfig.html | 2 +- cu29/prelude/struct.CuDuration.html | 28 ++++++++--------- cu29/prelude/struct.CuDurationStatistics.html | 2 +- cu29/prelude/struct.CuError.html | 6 ++-- cu29/prelude/struct.CuExecutionLoop.html | 2 +- cu29/prelude/struct.CuExecutionStep.html | 2 +- cu29/prelude/struct.CuHandle.html | 4 +-- cu29/prelude/struct.CuHostMemoryPool.html | 2 +- cu29/prelude/struct.CuListsManager.html | 2 +- cu29/prelude/struct.CuLogEntry.html | 20 ++++++------- cu29/prelude/struct.CuMsg.html | 4 +-- cu29/prelude/struct.CuMsgMetadata.html | 4 +-- cu29/prelude/struct.CuRuntime.html | 2 +- cu29/prelude/struct.CuSimSinkTask.html | 2 +- cu29/prelude/struct.CuSimSrcTask.html | 2 +- cu29/prelude/struct.CuTimeRange.html | 20 ++++++------- cu29/prelude/struct.Instant.html | 2 +- cu29/prelude/struct.LiveStatistics.html | 2 +- cu29/prelude/struct.LoggerRuntime.html | 6 ++-- cu29/prelude/struct.LoggingConfig.html | 2 +- cu29/prelude/struct.MonitorConfig.html | 2 +- cu29/prelude/struct.NoMonitor.html | 2 +- cu29/prelude/struct.Node.html | 2 +- cu29/prelude/struct.NullLog.html | 4 +-- cu29/prelude/struct.OptionCuTime.html | 18 +++++------ cu29/prelude/struct.OwningIoWriter.html | 8 ++--- cu29/prelude/struct.PartialCuTimeRange.html | 16 +++++----- cu29/prelude/struct.RobotClock.html | 10 +++---- cu29/prelude/struct.RobotClockMock.html | 12 ++++---- cu29/prelude/struct.ScopedAllocCounter.html | 2 +- cu29/prelude/struct.SectionHandle.html | 2 +- cu29/prelude/struct.SectionHeader.html | 4 +-- cu29/prelude/struct.SimpleFileWriter.html | 4 +-- cu29/prelude/struct.UnifiedLoggerBuilder.html | 2 +- .../prelude/struct.UnifiedLoggerIOReader.html | 2 +- cu29/prelude/struct.UnifiedLoggerRead.html | 2 +- cu29/prelude/struct.UnifiedLoggerWrite.html | 2 +- cu29/prelude/trait.ArrayLike.html | 2 +- cu29/prelude/trait.ClockProvider.html | 4 +-- cu29/prelude/trait.CopperListTuple.html | 4 +-- cu29/prelude/trait.CuMonitor.html | 2 +- cu29/prelude/trait.CuMsgPack.html | 2 +- cu29/prelude/trait.CuMsgPayload.html | 2 +- cu29/prelude/trait.CuPool.html | 2 +- cu29/prelude/trait.CuSinkTask.html | 2 +- cu29/prelude/trait.CuSrcTask.html | 2 +- cu29/prelude/trait.CuTask.html | 2 +- cu29/prelude/trait.DeviceCuPool.html | 2 +- cu29/prelude/trait.ElementType.html | 2 +- cu29/prelude/trait.Freezable.html | 2 +- cu29/prelude/trait.PoolMonitor.html | 2 +- cu29/prelude/trait.WriteStream.html | 4 +-- cu29/prelude/type.AscIter.html | 2 +- cu29/prelude/type.AscIterMut.html | 2 +- cu29/prelude/type.CuResult.html | 2 +- cu29/prelude/type.CuTime.html | 2 +- cu29/prelude/type.Iter.html | 2 +- cu29/prelude/type.IterMut.html | 2 +- cu29/prelude/type.NodeId.html | 2 +- cu29/simulation/enum.CuTaskCallbackState.html | 2 +- cu29/simulation/enum.SimOverride.html | 2 +- cu29/simulation/index.html | 2 +- cu29/simulation/struct.CuSimSinkTask.html | 2 +- cu29/simulation/struct.CuSimSrcTask.html | 2 +- cu29/struct.CuError.html | 6 ++-- cu29/trait.CopperListTuple.html | 4 +-- cu29/trait.WriteStream.html | 4 +-- cu29/type.CuResult.html | 2 +- cu29_clock/all.html | 2 +- cu29_clock/enum.Tov.html | 2 +- cu29_clock/index.html | 2 +- cu29_clock/struct.CuDuration.html | 2 +- cu29_clock/struct.CuTimeRange.html | 2 +- cu29_clock/struct.Instant.html | 2 +- cu29_clock/struct.OptionCuTime.html | 2 +- cu29_clock/struct.PartialCuTimeRange.html | 2 +- cu29_clock/struct.RobotClock.html | 2 +- cu29_clock/struct.RobotClockMock.html | 2 +- cu29_clock/trait.ClockProvider.html | 2 +- cu29_clock/type.CuTime.html | 2 +- cu29_derive/all.html | 2 +- cu29_derive/attr.copper_runtime.html | 2 +- cu29_derive/index.html | 2 +- cu29_derive/macro.gen_cumsgs.html | 2 +- cu29_export/all.html | 2 +- cu29_export/enum.Command.html | 2 +- cu29_export/enum.ExportFormat.html | 2 +- cu29_export/fn.copperlists_dump.html | 2 +- cu29_export/fn.run_cli.html | 4 +-- cu29_export/fn.textlog_dump.html | 2 +- cu29_export/index.html | 2 +- cu29_export/struct.LogReaderCli.html | 2 +- cu29_helpers/all.html | 2 +- cu29_helpers/fn.basic_copper_setup.html | 6 ++-- cu29_helpers/index.html | 2 +- cu29_intern_strs/all.html | 2 +- .../fn.read_interned_strings.html | 2 +- cu29_intern_strs/index.html | 2 +- cu29_log/all.html | 2 +- cu29_log/constant.ANONYMOUS.html | 2 +- .../constant.MAX_LOG_PARAMS_ON_STACK.html | 2 +- cu29_log/fn.default_log_index_dir.html | 2 +- cu29_log/fn.format_logline.html | 2 +- cu29_log/fn.rebuild_logline.html | 2 +- cu29_log/index.html | 2 +- cu29_log/struct.CuLogEntry.html | 2 +- cu29_log_derive/all.html | 2 +- cu29_log_derive/index.html | 2 +- cu29_log_derive/macro.debug.html | 2 +- cu29_log_runtime/all.html | 2 +- cu29_log_runtime/fn.log.html | 2 +- cu29_log_runtime/fn.log_debug_mode.html | 2 +- cu29_log_runtime/index.html | 2 +- .../static.EXTRA_TEXT_LOGGER.html | 2 +- cu29_log_runtime/struct.LoggerRuntime.html | 2 +- cu29_log_runtime/struct.NullLog.html | 2 +- cu29_log_runtime/struct.OwningIoWriter.html | 2 +- cu29_log_runtime/struct.SimpleFileWriter.html | 2 +- cu29_rendercfg/all.html | 2 +- cu29_rendercfg/config/fn.default_as_true.html | 2 +- .../config/fn.read_configuration.html | 2 +- .../config/fn.read_configuration_str.html | 2 +- cu29_rendercfg/config/index.html | 2 +- cu29_rendercfg/config/struct.Cnx.html | 2 +- .../config/struct.ComponentConfig.html | 2 +- cu29_rendercfg/config/struct.CuConfig.html | 2 +- .../config/struct.CuConfigRepresentation.html | 2 +- .../config/struct.LoggingConfig.html | 2 +- .../config/struct.MonitorConfig.html | 2 +- cu29_rendercfg/config/struct.Node.html | 2 +- cu29_rendercfg/config/struct.Value.html | 2 +- cu29_rendercfg/config/type.NodeId.html | 2 +- cu29_rendercfg/enum.UnifiedLogType.html | 14 ++++----- cu29_rendercfg/fn.main.html | 2 +- cu29_rendercfg/index.html | 2 +- cu29_rendercfg/struct.Args.html | 2 +- cu29_rendercfg/struct.CuError.html | 6 ++-- cu29_rendercfg/trait.CopperListTuple.html | 4 +-- cu29_rendercfg/trait.WriteStream.html | 4 +-- cu29_rendercfg/type.CuResult.html | 2 +- cu29_runtime/all.html | 2 +- .../config/fn.read_configuration.html | 2 +- .../config/fn.read_configuration_str.html | 2 +- cu29_runtime/config/index.html | 2 +- cu29_runtime/config/struct.Cnx.html | 2 +- .../config/struct.ComponentConfig.html | 2 +- cu29_runtime/config/struct.CuConfig.html | 4 +-- cu29_runtime/config/struct.LoggingConfig.html | 4 +-- cu29_runtime/config/struct.MonitorConfig.html | 2 +- cu29_runtime/config/struct.Node.html | 2 +- cu29_runtime/config/struct.Value.html | 2 +- cu29_runtime/config/type.NodeId.html | 2 +- .../copperlist/enum.CopperListState.html | 4 +-- cu29_runtime/copperlist/index.html | 2 +- .../copperlist/struct.CopperLiskMask.html | 4 +-- .../copperlist/struct.CopperList.html | 14 ++++----- .../copperlist/struct.CuListsManager.html | 6 ++-- cu29_runtime/copperlist/type.AscIter.html | 2 +- cu29_runtime/copperlist/type.AscIterMut.html | 2 +- cu29_runtime/copperlist/type.Iter.html | 2 +- cu29_runtime/copperlist/type.IterMut.html | 2 +- .../curuntime/enum.CuExecutionUnit.html | 2 +- cu29_runtime/curuntime/enum.CuTaskType.html | 2 +- .../curuntime/fn.compute_runtime_plan.html | 2 +- .../curuntime/fn.find_task_type_for_id.html | 2 +- cu29_runtime/curuntime/index.html | 2 +- .../curuntime/struct.CopperContext.html | 10 +++---- .../curuntime/struct.CuExecutionLoop.html | 2 +- .../curuntime/struct.CuExecutionStep.html | 2 +- cu29_runtime/curuntime/struct.CuRuntime.html | 18 +++++------ cu29_runtime/cutask/index.html | 2 +- .../cutask/struct.CuCompactString.html | 4 +-- cu29_runtime/cutask/struct.CuMsg.html | 4 +-- cu29_runtime/cutask/struct.CuMsgMetadata.html | 12 ++++---- cu29_runtime/cutask/trait.CuMsgPack.html | 2 +- cu29_runtime/cutask/trait.CuMsgPayload.html | 2 +- cu29_runtime/cutask/trait.CuSinkTask.html | 28 ++++++++--------- cu29_runtime/cutask/trait.CuSrcTask.html | 28 ++++++++--------- cu29_runtime/cutask/trait.CuTask.html | 30 +++++++++---------- cu29_runtime/cutask/trait.Freezable.html | 2 +- cu29_runtime/index.html | 2 +- cu29_runtime/macro.input_msg.html | 2 +- cu29_runtime/macro.output_msg.html | 2 +- cu29_runtime/monitoring/enum.CuTaskState.html | 2 +- cu29_runtime/monitoring/enum.Decision.html | 2 +- cu29_runtime/monitoring/index.html | 2 +- cu29_runtime/monitoring/static.GLOBAL.html | 2 +- .../monitoring/struct.CountingAllocator.html | 2 +- .../struct.CuDurationStatistics.html | 4 +-- .../monitoring/struct.LiveStatistics.html | 2 +- cu29_runtime/monitoring/struct.NoMonitor.html | 8 ++--- .../monitoring/struct.ScopedAllocCounter.html | 2 +- cu29_runtime/monitoring/trait.CuMonitor.html | 20 ++++++------- cu29_runtime/payload/index.html | 2 +- cu29_runtime/payload/struct.CuArray.html | 4 +-- cu29_runtime/pool/enum.CuHandleInner.html | 8 ++--- cu29_runtime/pool/fn.pools_statistics.html | 2 +- cu29_runtime/pool/index.html | 2 +- cu29_runtime/pool/struct.AlignedBuffer.html | 8 ++--- cu29_runtime/pool/struct.CuHandle.html | 4 +-- .../pool/struct.CuHostMemoryPool.html | 4 +-- cu29_runtime/pool/trait.ArrayLike.html | 2 +- cu29_runtime/pool/trait.CuPool.html | 2 +- cu29_runtime/pool/trait.DeviceCuPool.html | 6 ++-- cu29_runtime/pool/trait.ElementType.html | 2 +- cu29_runtime/pool/trait.PoolMonitor.html | 2 +- .../simulation/enum.CuTaskCallbackState.html | 2 +- cu29_runtime/simulation/enum.SimOverride.html | 2 +- cu29_runtime/simulation/index.html | 2 +- .../simulation/struct.CuSimSinkTask.html | 12 ++++---- .../simulation/struct.CuSimSrcTask.html | 14 ++++----- cu29_soa_derive/all.html | 2 +- cu29_soa_derive/derive.Soa.html | 2 +- cu29_soa_derive/index.html | 2 +- cu29_traits/all.html | 2 +- cu29_traits/enum.UnifiedLogType.html | 2 +- cu29_traits/index.html | 2 +- cu29_traits/struct.CuError.html | 2 +- cu29_traits/trait.CopperListTuple.html | 2 +- cu29_traits/trait.WriteStream.html | 2 +- cu29_traits/type.CuResult.html | 2 +- cu29_unifiedlog/all.html | 2 +- cu29_unifiedlog/enum.AllocatedSection.html | 2 +- cu29_unifiedlog/enum.UnifiedLogger.html | 2 +- cu29_unifiedlog/fn.stream_write.html | 2 +- cu29_unifiedlog/index.html | 2 +- cu29_unifiedlog/struct.SectionHandle.html | 2 +- cu29_unifiedlog/struct.SectionHeader.html | 2 +- .../struct.UnifiedLoggerBuilder.html | 2 +- .../struct.UnifiedLoggerIOReader.html | 2 +- cu29_unifiedlog/struct.UnifiedLoggerRead.html | 2 +- .../struct.UnifiedLoggerWrite.html | 2 +- help.html | 2 +- index.html | 4 +-- settings.html | 2 +- src/cu29/lib.rs.html | 2 +- src/cu29_clock/lib.rs.html | 2 +- src/cu29_derive/format.rs.html | 2 +- src/cu29_derive/lib.rs.html | 2 +- src/cu29_derive/utils.rs.html | 2 +- src/cu29_export/lib.rs.html | 2 +- src/cu29_helpers/lib.rs.html | 2 +- src/cu29_intern_strs/lib.rs.html | 2 +- src/cu29_log/lib.rs.html | 2 +- src/cu29_log_derive/index.rs.html | 2 +- src/cu29_log_derive/lib.rs.html | 2 +- src/cu29_log_runtime/lib.rs.html | 2 +- src/cu29_rendercfg/config.rs.html | 2 +- src/cu29_rendercfg/rendercfg.rs.html | 2 +- src/cu29_runtime/config.rs.html | 2 +- src/cu29_runtime/copperlist.rs.html | 2 +- src/cu29_runtime/curuntime.rs.html | 2 +- src/cu29_runtime/cutask.rs.html | 2 +- src/cu29_runtime/lib.rs.html | 2 +- src/cu29_runtime/log.rs.html | 2 +- src/cu29_runtime/monitoring.rs.html | 2 +- src/cu29_runtime/payload.rs.html | 2 +- src/cu29_runtime/pool.rs.html | 2 +- src/cu29_runtime/simulation.rs.html | 2 +- src/cu29_soa_derive/format.rs.html | 2 +- src/cu29_soa_derive/lib.rs.html | 2 +- src/cu29_traits/lib.rs.html | 2 +- src/cu29_unifiedlog/lib.rs.html | 2 +- trait.impl/bincode/de/trait.BorrowDecode.js | 4 +-- trait.impl/bincode/de/trait.Decode.js | 4 +-- trait.impl/bincode/enc/trait.Encode.js | 4 +-- trait.impl/core/default/trait.Default.js | 4 +-- trait.impl/core/fmt/trait.Debug.js | 4 +-- trait.impl/cu29_clock/trait.ClockProvider.js | 4 +-- type.impl/cu29/prelude/struct.CuDuration.js | 4 +-- 439 files changed, 695 insertions(+), 695 deletions(-) diff --git a/cu29/all.html b/cu29/all.html index 94e4cde7e..91f16171c 100644 --- a/cu29/all.html +++ b/cu29/all.html @@ -1 +1 @@ -List of all items in this crate

List of all items

Structs

Enums

Traits

Macros

Attribute Macros

Functions

Type Aliases

Statics

Constants

\ No newline at end of file +List of all items in this crate

List of all items

Structs

Enums

Traits

Macros

Attribute Macros

Functions

Type Aliases

Statics

Constants

\ No newline at end of file diff --git a/cu29/config/fn.read_configuration.html b/cu29/config/fn.read_configuration.html index ea86beb5d..20efbfa03 100644 --- a/cu29/config/fn.read_configuration.html +++ b/cu29/config/fn.read_configuration.html @@ -1,2 +1,2 @@ -read_configuration in cu29::config - Rust
cu29::config

Function read_configuration

Source
pub fn read_configuration(config_filename: &str) -> Result<CuConfig, CuError>
Expand description

Read a copper configuration from a file.

+read_configuration in cu29::config - Rust
cu29::config

Function read_configuration

Source
pub fn read_configuration(config_filename: &str) -> Result<CuConfig, CuError>
Expand description

Read a copper configuration from a file.

\ No newline at end of file diff --git a/cu29/config/fn.read_configuration_str.html b/cu29/config/fn.read_configuration_str.html index 7bfea0638..57742b880 100644 --- a/cu29/config/fn.read_configuration_str.html +++ b/cu29/config/fn.read_configuration_str.html @@ -1,4 +1,4 @@ -read_configuration_str in cu29::config - Rust
cu29::config

Function read_configuration_str

Source
pub fn read_configuration_str(
+read_configuration_str in cu29::config - Rust
cu29::config

Function read_configuration_str

Source
pub fn read_configuration_str(
     config_content: String,
 ) -> Result<CuConfig, CuError>
Expand description

Read a copper configuration from a String.

\ No newline at end of file diff --git a/cu29/config/index.html b/cu29/config/index.html index 700e5c5e4..9e292996b 100644 --- a/cu29/config/index.html +++ b/cu29/config/index.html @@ -1,4 +1,4 @@ -cu29::config - Rust
cu29

Module config

Source
Expand description

This module defines the configuration of the copper runtime. +cu29::config - Rust

cu29

Module config

Source
Expand description

This module defines the configuration of the copper runtime. The configuration is a directed graph where nodes are tasks and edges are connections between tasks. The configuration is serialized in the RON format. The configuration is used to generate the runtime code at compile time.

diff --git a/cu29/config/struct.Cnx.html b/cu29/config/struct.Cnx.html index 71a54974c..33d856aed 100644 --- a/cu29/config/struct.Cnx.html +++ b/cu29/config/struct.Cnx.html @@ -1,4 +1,4 @@ -Cnx in cu29::config - Rust
cu29::config

Struct Cnx

Source
pub struct Cnx {
+Cnx in cu29::config - Rust
cu29::config

Struct Cnx

Source
pub struct Cnx {
     pub msg: String,
     pub batch: Option<u32>,
     pub store: Option<bool>,
diff --git a/cu29/config/struct.ComponentConfig.html b/cu29/config/struct.ComponentConfig.html
index 4763b9b9b..bc2d05fc4 100644
--- a/cu29/config/struct.ComponentConfig.html
+++ b/cu29/config/struct.ComponentConfig.html
@@ -1,4 +1,4 @@
-ComponentConfig in cu29::config - Rust
cu29::config

Struct ComponentConfig

Source
pub struct ComponentConfig(pub HashMap<String, Value>);
Expand description

This is the configuration of a component (like a task config or a monitoring config):w +ComponentConfig in cu29::config - Rust

cu29::config

Struct ComponentConfig

Source
pub struct ComponentConfig(pub HashMap<String, Value>);
Expand description

This is the configuration of a component (like a task config or a monitoring config):w It is a map of key-value pairs. It is given to the new method of the task implementation.

Tuple Fields§

§0: HashMap<String, Value>

Implementations§

Source§

impl ComponentConfig

Source

pub fn new() -> ComponentConfig

Source

pub fn get<T>(&self, key: &str) -> Option<T>
where diff --git a/cu29/config/struct.CuConfig.html b/cu29/config/struct.CuConfig.html index 2c7a7eb0d..ce1b24845 100644 --- a/cu29/config/struct.CuConfig.html +++ b/cu29/config/struct.CuConfig.html @@ -1,4 +1,4 @@ -CuConfig in cu29::config - Rust
cu29::config

Struct CuConfig

Source
pub struct CuConfig {
+CuConfig in cu29::config - Rust
cu29::config

Struct CuConfig

Source
pub struct CuConfig {
     pub graph: StableGraph<Node, Cnx>,
     pub monitor: Option<MonitorConfig>,
     pub logging: Option<LoggingConfig>,
diff --git a/cu29/config/struct.LoggingConfig.html b/cu29/config/struct.LoggingConfig.html
index fa8861954..3f66048f5 100644
--- a/cu29/config/struct.LoggingConfig.html
+++ b/cu29/config/struct.LoggingConfig.html
@@ -1,4 +1,4 @@
-LoggingConfig in cu29::config - Rust
cu29::config

Struct LoggingConfig

Source
pub struct LoggingConfig {
+LoggingConfig in cu29::config - Rust
cu29::config

Struct LoggingConfig

Source
pub struct LoggingConfig {
     pub slab_size_mib: Option<u64>,
     pub section_size_mib: Option<u64>,
     pub enable_task_logging: bool,
diff --git a/cu29/config/struct.MonitorConfig.html b/cu29/config/struct.MonitorConfig.html
index eaa385ca3..2d1525cc6 100644
--- a/cu29/config/struct.MonitorConfig.html
+++ b/cu29/config/struct.MonitorConfig.html
@@ -1,4 +1,4 @@
-MonitorConfig in cu29::config - Rust
cu29::config

Struct MonitorConfig

Source
pub struct MonitorConfig { /* private fields */ }

Implementations§

Trait Implementations§

Source§

impl Clone for MonitorConfig

Source§

fn clone(&self) -> MonitorConfig

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for MonitorConfig

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Default for MonitorConfig

Source§

fn default() -> MonitorConfig

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for MonitorConfig

Source§

fn deserialize<__D>( +MonitorConfig in cu29::config - Rust
cu29::config

Struct MonitorConfig

Source
pub struct MonitorConfig { /* private fields */ }

Implementations§

Trait Implementations§

Source§

impl Clone for MonitorConfig

Source§

fn clone(&self) -> MonitorConfig

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for MonitorConfig

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Default for MonitorConfig

Source§

fn default() -> MonitorConfig

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for MonitorConfig

Source§

fn deserialize<__D>( __deserializer: __D, ) -> Result<MonitorConfig, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for MonitorConfig

Source§

fn serialize<__S>( diff --git a/cu29/config/struct.Node.html b/cu29/config/struct.Node.html index 1e537b997..5a3fe5a75 100644 --- a/cu29/config/struct.Node.html +++ b/cu29/config/struct.Node.html @@ -1,4 +1,4 @@ -Node in cu29::config - Rust
cu29::config

Struct Node

Source
pub struct Node { /* private fields */ }
Expand description

A node in the configuration graph. +Node in cu29::config - Rust

cu29::config

Struct Node

Source
pub struct Node { /* private fields */ }
Expand description

A node in the configuration graph. A node represents a Task in the system Graph.

Implementations§

Source§

impl Node

Source

pub fn new(id: &str, ptype: &str) -> Node

Source

pub fn get_id(&self) -> String

Source

pub fn set_type(self, name: Option<String>) -> Node

Source

pub fn get_type(&self) -> &str

Source

pub fn get_instance_config(&self) -> Option<&ComponentConfig>

Source

pub fn get_param<T>(&self, key: &str) -> Option<T>
where T: From<Value>,

Source

pub fn set_param<T>(&mut self, key: &str, value: T)
where diff --git a/cu29/config/struct.Value.html b/cu29/config/struct.Value.html index 8d4baa188..a7715b591 100644 --- a/cu29/config/struct.Value.html +++ b/cu29/config/struct.Value.html @@ -1,4 +1,4 @@ -Value in cu29::config - Rust
cu29::config

Struct Value

Source
pub struct Value(/* private fields */);
Expand description

Wrapper around the ron::Value to allow for custom serialization.

+Value in cu29::config - Rust
cu29::config

Struct Value

Source
pub struct Value(/* private fields */);
Expand description

Wrapper around the ron::Value to allow for custom serialization.

Trait Implementations§

Source§

impl Clone for Value

Source§

fn clone(&self) -> Value

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Value

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for Value

Source§

fn deserialize<__D>( __deserializer: __D, ) -> Result<Value, <__D as Deserializer<'de>>::Error>
where diff --git a/cu29/config/type.NodeId.html b/cu29/config/type.NodeId.html index 847b398b2..e918aaad1 100644 --- a/cu29/config/type.NodeId.html +++ b/cu29/config/type.NodeId.html @@ -1,3 +1,3 @@ -NodeId in cu29::config - Rust
cu29::config

Type Alias NodeId

Source
pub type NodeId = u32;
Expand description

NodeId is the unique identifier of a node in the configuration graph for petgraph +NodeId in cu29::config - Rust

cu29::config

Type Alias NodeId

Source
pub type NodeId = u32;
Expand description

NodeId is the unique identifier of a node in the configuration graph for petgraph and the code generation.

\ No newline at end of file diff --git a/cu29/copperlist/enum.CopperListState.html b/cu29/copperlist/enum.CopperListState.html index 9edd16443..c80e5da21 100644 --- a/cu29/copperlist/enum.CopperListState.html +++ b/cu29/copperlist/enum.CopperListState.html @@ -1,4 +1,4 @@ -CopperListState in cu29::copperlist - Rust
cu29::copperlist

Enum CopperListState

Source
pub enum CopperListState {
+CopperListState in cu29::copperlist - Rust
cu29::copperlist

Enum CopperListState

Source
pub enum CopperListState {
     Free,
     Initialized,
     Processing,
@@ -28,6 +28,6 @@
     T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> CopperListTuple for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> CopperListTuple for T
where T: Encode + Decode + Debug,

§

impl<T> ErasedDestructor for T
where T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/cu29/copperlist/index.html b/cu29/copperlist/index.html index 36ffee192..38afb5102 100644 --- a/cu29/copperlist/index.html +++ b/cu29/copperlist/index.html @@ -1,4 +1,4 @@ -cu29::copperlist - Rust
cu29

Module copperlist

Source
Expand description

CopperList is the main data structure used by Copper to communicate between tasks. +cu29::copperlist - Rust

cu29

Module copperlist

Source
Expand description

CopperList is the main data structure used by Copper to communicate between tasks. It is a queue that can be used to store preallocated messages between tasks in memory order.

Structs§

CopperLiskMask
Not implemented yet. This mask will be used to for example filter out necessary regions of a copper list between remote systems.
CopperList
CuListsManager
This structure maintains the entire memory needed by Copper for one loop for the inter tasks communication within a process. diff --git a/cu29/copperlist/struct.CopperLiskMask.html b/cu29/copperlist/struct.CopperLiskMask.html index ebc8cc976..0914aa436 100644 --- a/cu29/copperlist/struct.CopperLiskMask.html +++ b/cu29/copperlist/struct.CopperLiskMask.html @@ -1,4 +1,4 @@ -CopperLiskMask in cu29::copperlist - Rust
cu29::copperlist

Struct CopperLiskMask

Source
pub struct CopperLiskMask { /* private fields */ }
Expand description

Not implemented yet. +CopperLiskMask in cu29::copperlist - Rust

cu29::copperlist

Struct CopperLiskMask

Source
pub struct CopperLiskMask { /* private fields */ }
Expand description

Not implemented yet. This mask will be used to for example filter out necessary regions of a copper list between remote systems.

Trait Implementations§

Source§

impl<'__de> BorrowDecode<'__de> for CopperLiskMask

Source§

fn borrow_decode<__D>(decoder: &mut __D) -> Result<CopperLiskMask, DecodeError>
where __D: BorrowDecoder<'__de>,

Attempt to decode this type with the given BorrowDecode.
Source§

impl Clone for CopperLiskMask

Source§

fn clone(&self) -> CopperLiskMask

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for CopperLiskMask

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Decode for CopperLiskMask

Source§

fn decode<__D>(decoder: &mut __D) -> Result<CopperLiskMask, DecodeError>
where @@ -16,6 +16,6 @@

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> CopperListTuple for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> CopperListTuple for T
where T: Encode + Decode + Debug,

§

impl<T> ErasedDestructor for T
where T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/cu29/copperlist/struct.CopperList.html b/cu29/copperlist/struct.CopperList.html index d50b547b3..a3862d2e6 100644 --- a/cu29/copperlist/struct.CopperList.html +++ b/cu29/copperlist/struct.CopperList.html @@ -1,4 +1,4 @@ -CopperList in cu29::copperlist - Rust
cu29::copperlist

Struct CopperList

Source
pub struct CopperList<P>
where +CopperList in cu29::copperlist - Rust
cu29::copperlist

Struct CopperList

Source
pub struct CopperList<P>
where P: CopperListTuple,
{ pub id: u32, pub msgs: P, @@ -27,6 +27,6 @@ From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> CopperListTuple for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> CopperListTuple for T
where T: Encode + Decode + Debug,

§

impl<T> ErasedDestructor for T
where T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/cu29/copperlist/struct.CuListsManager.html b/cu29/copperlist/struct.CuListsManager.html index fc3bb28de..0c46cf628 100644 --- a/cu29/copperlist/struct.CuListsManager.html +++ b/cu29/copperlist/struct.CuListsManager.html @@ -1,4 +1,4 @@ -CuListsManager in cu29::copperlist - Rust
cu29::copperlist

Struct CuListsManager

Source
pub struct CuListsManager<P, const N: usize>
where +CuListsManager in cu29::copperlist - Rust
cu29::copperlist

Struct CuListsManager

Source
pub struct CuListsManager<P, const N: usize>
where P: CopperListTuple,
{ /* private fields */ }
Expand description

This structure maintains the entire memory needed by Copper for one loop for the inter tasks communication within a process. P or Payload is typically a Tuple of various types of messages that are exchanged between tasks. N is the maximum number of in flight Copper List the runtime can support.

diff --git a/cu29/copperlist/type.AscIter.html b/cu29/copperlist/type.AscIter.html index ea5ffba3e..9d2022376 100644 --- a/cu29/copperlist/type.AscIter.html +++ b/cu29/copperlist/type.AscIter.html @@ -1 +1 @@ -AscIter in cu29::copperlist - Rust
cu29::copperlist

Type Alias AscIter

Source
pub type AscIter<'a, T> = Chain<Iter<'a, T>, Iter<'a, T>>;

Aliased Type§

struct AscIter<'a, T> { /* private fields */ }
\ No newline at end of file +AscIter in cu29::copperlist - Rust
cu29::copperlist

Type Alias AscIter

Source
pub type AscIter<'a, T> = Chain<Iter<'a, T>, Iter<'a, T>>;

Aliased Type§

struct AscIter<'a, T> { /* private fields */ }
\ No newline at end of file diff --git a/cu29/copperlist/type.AscIterMut.html b/cu29/copperlist/type.AscIterMut.html index 7162673ee..aab5e40a4 100644 --- a/cu29/copperlist/type.AscIterMut.html +++ b/cu29/copperlist/type.AscIterMut.html @@ -1 +1 @@ -AscIterMut in cu29::copperlist - Rust
cu29::copperlist

Type Alias AscIterMut

Source
pub type AscIterMut<'a, T> = Chain<IterMut<'a, T>, IterMut<'a, T>>;

Aliased Type§

struct AscIterMut<'a, T> { /* private fields */ }
\ No newline at end of file +AscIterMut in cu29::copperlist - Rust
cu29::copperlist

Type Alias AscIterMut

Source
pub type AscIterMut<'a, T> = Chain<IterMut<'a, T>, IterMut<'a, T>>;

Aliased Type§

struct AscIterMut<'a, T> { /* private fields */ }
\ No newline at end of file diff --git a/cu29/copperlist/type.Iter.html b/cu29/copperlist/type.Iter.html index 958d1d962..1d90fbfa0 100644 --- a/cu29/copperlist/type.Iter.html +++ b/cu29/copperlist/type.Iter.html @@ -1 +1 @@ -Iter in cu29::copperlist - Rust
cu29::copperlist

Type Alias Iter

Source
pub type Iter<'a, T> = Chain<Rev<Iter<'a, T>>, Rev<Iter<'a, T>>>;

Aliased Type§

struct Iter<'a, T> { /* private fields */ }
\ No newline at end of file +Iter in cu29::copperlist - Rust
cu29::copperlist

Type Alias Iter

Source
pub type Iter<'a, T> = Chain<Rev<Iter<'a, T>>, Rev<Iter<'a, T>>>;

Aliased Type§

struct Iter<'a, T> { /* private fields */ }
\ No newline at end of file diff --git a/cu29/copperlist/type.IterMut.html b/cu29/copperlist/type.IterMut.html index e1f1b6910..b0c0e39db 100644 --- a/cu29/copperlist/type.IterMut.html +++ b/cu29/copperlist/type.IterMut.html @@ -1 +1 @@ -IterMut in cu29::copperlist - Rust
cu29::copperlist

Type Alias IterMut

Source
pub type IterMut<'a, T> = Chain<Rev<IterMut<'a, T>>, Rev<IterMut<'a, T>>>;

Aliased Type§

struct IterMut<'a, T> { /* private fields */ }
\ No newline at end of file +IterMut in cu29::copperlist - Rust
cu29::copperlist

Type Alias IterMut

Source
pub type IterMut<'a, T> = Chain<Rev<IterMut<'a, T>>, Rev<IterMut<'a, T>>>;

Aliased Type§

struct IterMut<'a, T> { /* private fields */ }
\ No newline at end of file diff --git a/cu29/curuntime/enum.CuExecutionUnit.html b/cu29/curuntime/enum.CuExecutionUnit.html index 46fc724af..ac8d3e4c3 100644 --- a/cu29/curuntime/enum.CuExecutionUnit.html +++ b/cu29/curuntime/enum.CuExecutionUnit.html @@ -1,4 +1,4 @@ -CuExecutionUnit in cu29::curuntime - Rust
cu29::curuntime

Enum CuExecutionUnit

Source
pub enum CuExecutionUnit {
+CuExecutionUnit in cu29::curuntime - Rust
cu29::curuntime

Enum CuExecutionUnit

Source
pub enum CuExecutionUnit {
     Step(CuExecutionStep),
     Loop(CuExecutionLoop),
 }
Expand description

This structure represents a step in the execution plan.

diff --git a/cu29/curuntime/enum.CuTaskType.html b/cu29/curuntime/enum.CuTaskType.html index d9a760210..91404fc1e 100644 --- a/cu29/curuntime/enum.CuTaskType.html +++ b/cu29/curuntime/enum.CuTaskType.html @@ -1,4 +1,4 @@ -CuTaskType in cu29::curuntime - Rust
cu29::curuntime

Enum CuTaskType

Source
pub enum CuTaskType {
+CuTaskType in cu29::curuntime - Rust
cu29::curuntime

Enum CuTaskType

Source
pub enum CuTaskType {
     Source,
     Regular,
     Sink,
diff --git a/cu29/curuntime/fn.compute_runtime_plan.html b/cu29/curuntime/fn.compute_runtime_plan.html
index a1977a511..2ff8c95b8 100644
--- a/cu29/curuntime/fn.compute_runtime_plan.html
+++ b/cu29/curuntime/fn.compute_runtime_plan.html
@@ -1,4 +1,4 @@
-compute_runtime_plan in cu29::curuntime - Rust
cu29::curuntime

Function compute_runtime_plan

Source
pub fn compute_runtime_plan(
+compute_runtime_plan in cu29::curuntime - Rust
cu29::curuntime

Function compute_runtime_plan

Source
pub fn compute_runtime_plan(
     config: &CuConfig,
 ) -> Result<CuExecutionLoop, CuError>
Expand description

This is the main heuristics to compute an execution plan at compilation time. TODO: Make that heuristic pluggable.

diff --git a/cu29/curuntime/fn.find_task_type_for_id.html b/cu29/curuntime/fn.find_task_type_for_id.html index 97a94ed26..392b3b793 100644 --- a/cu29/curuntime/fn.find_task_type_for_id.html +++ b/cu29/curuntime/fn.find_task_type_for_id.html @@ -1,4 +1,4 @@ -find_task_type_for_id in cu29::curuntime - Rust
cu29::curuntime

Function find_task_type_for_id

Source
pub fn find_task_type_for_id(
+find_task_type_for_id in cu29::curuntime - Rust
cu29::curuntime

Function find_task_type_for_id

Source
pub fn find_task_type_for_id(
     graph: &StableGraph<Node, Cnx>,
     node_id: u32,
 ) -> CuTaskType
\ No newline at end of file diff --git a/cu29/curuntime/index.html b/cu29/curuntime/index.html index 3dc1afe92..d16b46b61 100644 --- a/cu29/curuntime/index.html +++ b/cu29/curuntime/index.html @@ -1,4 +1,4 @@ -cu29::curuntime - Rust
cu29

Module curuntime

Source
Expand description

CuRuntime is the heart of what copper is running on the robot. +cu29::curuntime - Rust

cu29

Module curuntime

Source
Expand description

CuRuntime is the heart of what copper is running on the robot. It is exposed to the user via the copper_runtime macro injecting it as a field in their application struct.

Structs§

CopperContext
Just a simple struct to hold the various bits needed to run a Copper application.
CuExecutionLoop
This structure represents a loop in the execution plan. It is used to represent a sequence of Execution units (loop or steps) that are executed diff --git a/cu29/curuntime/struct.CopperContext.html b/cu29/curuntime/struct.CopperContext.html index 19fb4a5e5..20498f860 100644 --- a/cu29/curuntime/struct.CopperContext.html +++ b/cu29/curuntime/struct.CopperContext.html @@ -1,4 +1,4 @@ -CopperContext in cu29::curuntime - Rust
cu29::curuntime

Struct CopperContext

Source
pub struct CopperContext {
+CopperContext in cu29::curuntime - Rust
cu29::curuntime

Struct CopperContext

Source
pub struct CopperContext {
     pub unified_logger: Arc<Mutex<UnifiedLoggerWrite>>,
     pub logger_runtime: LoggerRuntime,
     pub clock: RobotClock,
diff --git a/cu29/curuntime/struct.CuExecutionLoop.html b/cu29/curuntime/struct.CuExecutionLoop.html
index 70a6b4243..f15b5bf88 100644
--- a/cu29/curuntime/struct.CuExecutionLoop.html
+++ b/cu29/curuntime/struct.CuExecutionLoop.html
@@ -1,4 +1,4 @@
-CuExecutionLoop in cu29::curuntime - Rust
cu29::curuntime

Struct CuExecutionLoop

Source
pub struct CuExecutionLoop {
+CuExecutionLoop in cu29::curuntime - Rust
cu29::curuntime

Struct CuExecutionLoop

Source
pub struct CuExecutionLoop {
     pub steps: Vec<CuExecutionUnit>,
     pub loop_count: Option<u32>,
 }
Expand description

This structure represents a loop in the execution plan. diff --git a/cu29/curuntime/struct.CuExecutionStep.html b/cu29/curuntime/struct.CuExecutionStep.html index 433f931a4..b464e39dc 100644 --- a/cu29/curuntime/struct.CuExecutionStep.html +++ b/cu29/curuntime/struct.CuExecutionStep.html @@ -1,4 +1,4 @@ -CuExecutionStep in cu29::curuntime - Rust

cu29::curuntime

Struct CuExecutionStep

Source
pub struct CuExecutionStep {
+CuExecutionStep in cu29::curuntime - Rust
cu29::curuntime

Struct CuExecutionStep

Source
pub struct CuExecutionStep {
     pub node_id: u32,
     pub node: Node,
     pub task_type: CuTaskType,
diff --git a/cu29/curuntime/struct.CuRuntime.html b/cu29/curuntime/struct.CuRuntime.html
index 9c3b39ac9..a1fd99076 100644
--- a/cu29/curuntime/struct.CuRuntime.html
+++ b/cu29/curuntime/struct.CuRuntime.html
@@ -1,4 +1,4 @@
-CuRuntime in cu29::curuntime - Rust
cu29::curuntime

Struct CuRuntime

Source
pub struct CuRuntime<CT, P, M, const NBCL: usize>
where +CuRuntime in cu29::curuntime - Rust
cu29::curuntime

Struct CuRuntime

Source
pub struct CuRuntime<CT, P, M, const NBCL: usize>{
     pub tasks: CT,
diff --git a/cu29/cutask/index.html b/cu29/cutask/index.html
index e0021c680..dc4181005 100644
--- a/cu29/cutask/index.html
+++ b/cu29/cutask/index.html
@@ -1,4 +1,4 @@
-cu29::cutask - Rust
cu29

Module cutask

Source
Expand description

This module contains all the main definition of the traits you need to implement +cu29::cutask - Rust

cu29

Module cutask

Source
Expand description

This module contains all the main definition of the traits you need to implement or interact with to create a Copper task.

Structs§

CuCompactString
CuMsg
CuMsg is the envelope holding the msg payload and the metadata between tasks.
CuMsgMetadata
CuMsgMetadata is a structure that contains metadata common to all CuMsgs.

Traits§

CuMsgPack
CuMsgPayload
CuSinkTask
A Sink Task is a task that only consumes messages. For example drivers for actuators are Sink Tasks.
CuSrcTask
A Src Task is a task that only produces messages. For example drivers for sensors are Src Tasks. They are in push mode from the runtime. diff --git a/cu29/cutask/struct.CuCompactString.html b/cu29/cutask/struct.CuCompactString.html index 61c340ae9..761b5b22a 100644 --- a/cu29/cutask/struct.CuCompactString.html +++ b/cu29/cutask/struct.CuCompactString.html @@ -1,4 +1,4 @@ -CuCompactString in cu29::cutask - Rust
cu29::cutask

Struct CuCompactString

Source
pub struct CuCompactString(pub CompactString);

Tuple Fields§

§0: CompactString

Trait Implementations§

Source§

impl<'de> BorrowDecode<'de> for CuCompactString

Source§

fn borrow_decode<D>(decoder: &mut D) -> Result<CuCompactString, DecodeError>
where +CuCompactString in cu29::cutask - Rust
cu29::cutask

Struct CuCompactString

Source
pub struct CuCompactString(pub CompactString);

Tuple Fields§

§0: CompactString

Trait Implementations§

Source§

impl<'de> BorrowDecode<'de> for CuCompactString

Source§

fn borrow_decode<D>(decoder: &mut D) -> Result<CuCompactString, DecodeError>
where D: BorrowDecoder<'de>,

Attempt to decode this type with the given BorrowDecode.
Source§

impl Clone for CuCompactString

Source§

fn clone(&self) -> CuCompactString

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for CuCompactString

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Decode for CuCompactString

Source§

fn decode<D>(decoder: &mut D) -> Result<CuCompactString, DecodeError>
where D: Decoder,

Attempt to decode this type with the given Decode.
Source§

impl Default for CuCompactString

Source§

fn default() -> CuCompactString

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for CuCompactString

Source§

fn deserialize<__D>( __deserializer: __D, @@ -26,7 +26,7 @@

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> CopperListTuple for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> CopperListTuple for T
where T: Encode + Decode + Debug,

Source§

impl<T> CuMsgPayload for T
where T: Default + Debug + Clone + Encode + Decode,

Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where diff --git a/cu29/cutask/struct.CuMsg.html b/cu29/cutask/struct.CuMsg.html index 461058d2f..7ec2ed88d 100644 --- a/cu29/cutask/struct.CuMsg.html +++ b/cu29/cutask/struct.CuMsg.html @@ -1,4 +1,4 @@ -CuMsg in cu29::cutask - Rust
cu29::cutask

Struct CuMsg

Source
pub struct CuMsg<T>
where +CuMsg in cu29::cutask - Rust
cu29::cutask

Struct CuMsg

Source
pub struct CuMsg<T>
where T: CuMsgPayload,
{ pub metadata: CuMsgMetadata, /* private fields */ @@ -34,7 +34,7 @@

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> CopperListTuple for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> CopperListTuple for T
where T: Encode + Decode + Debug,

Source§

impl<T> CuMsgPayload for T
where T: Default + Debug + Clone + Encode + Decode,

§

impl<T> ErasedDestructor for T
where T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/cu29/cutask/struct.CuMsgMetadata.html b/cu29/cutask/struct.CuMsgMetadata.html index 13a65d9e6..33497c453 100644 --- a/cu29/cutask/struct.CuMsgMetadata.html +++ b/cu29/cutask/struct.CuMsgMetadata.html @@ -1,4 +1,4 @@ -CuMsgMetadata in cu29::cutask - Rust
cu29::cutask

Struct CuMsgMetadata

Source
pub struct CuMsgMetadata {
+CuMsgMetadata in cu29::cutask - Rust
cu29::cutask

Struct CuMsgMetadata

Source
pub struct CuMsgMetadata {
     pub process_time: PartialCuTimeRange,
     pub tov: Tov,
     pub status_txt: CuCompactString,
@@ -33,7 +33,7 @@
     T: Clone,
Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> CopperListTuple for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> CopperListTuple for T
where T: Encode + Decode + Debug,

Source§

impl<T> CuMsgPayload for T
where T: Default + Debug + Clone + Encode + Decode,

Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where diff --git a/cu29/cutask/trait.CuMsgPack.html b/cu29/cutask/trait.CuMsgPack.html index 74c8bd610..d79ea393a 100644 --- a/cu29/cutask/trait.CuMsgPack.html +++ b/cu29/cutask/trait.CuMsgPack.html @@ -1,4 +1,4 @@ -CuMsgPack in cu29::cutask - Rust
cu29::cutask

Trait CuMsgPack

Source
pub trait CuMsgPack<'cl> { }

Implementations on Foreign Types§

Source§

impl CuMsgPack<'_> for ()

Source§

impl<'cl, T1, T2> CuMsgPack<'cl> for (&'cl CuMsg<T1>, &'cl CuMsg<T2>)
where +CuMsgPack in cu29::cutask - Rust
cu29::cutask

Trait CuMsgPack

Source
pub trait CuMsgPack<'cl> { }

Implementations on Foreign Types§

Source§

impl CuMsgPack<'_> for ()

Source§

impl<'cl, T1, T2> CuMsgPack<'cl> for (&'cl CuMsg<T1>, &'cl CuMsg<T2>)
where T1: CuMsgPayload + 'cl, T2: CuMsgPayload + 'cl,

Source§

impl<'cl, T1, T2, T3> CuMsgPack<'cl> for (&'cl CuMsg<T1>, &'cl CuMsg<T2>, &'cl CuMsg<T3>)
where T1: CuMsgPayload + 'cl, diff --git a/cu29/cutask/trait.CuMsgPayload.html b/cu29/cutask/trait.CuMsgPayload.html index 01c20228b..1a3bc5118 100644 --- a/cu29/cutask/trait.CuMsgPayload.html +++ b/cu29/cutask/trait.CuMsgPayload.html @@ -1,4 +1,4 @@ -CuMsgPayload in cu29::cutask - Rust
cu29::cutask

Trait CuMsgPayload

Source
pub trait CuMsgPayload:
+CuMsgPayload in cu29::cutask - Rust
cu29::cutask

Trait CuMsgPayload

Source
pub trait CuMsgPayload:
     Sized
     + Default
     + Debug
diff --git a/cu29/cutask/trait.CuSinkTask.html b/cu29/cutask/trait.CuSinkTask.html
index 57fc2af24..d15443d7d 100644
--- a/cu29/cutask/trait.CuSinkTask.html
+++ b/cu29/cutask/trait.CuSinkTask.html
@@ -1,4 +1,4 @@
-CuSinkTask in cu29::cutask - Rust
cu29::cutask

Trait CuSinkTask

Source
pub trait CuSinkTask<'cl>: Freezable {
+CuSinkTask in cu29::cutask - Rust
cu29::cutask

Trait CuSinkTask

Source
pub trait CuSinkTask<'cl>: Freezable {
     type Input: CuMsgPack<'cl>;
 
     // Required methods
diff --git a/cu29/cutask/trait.CuSrcTask.html b/cu29/cutask/trait.CuSrcTask.html
index 9f53f4363..1322d1fca 100644
--- a/cu29/cutask/trait.CuSrcTask.html
+++ b/cu29/cutask/trait.CuSrcTask.html
@@ -1,4 +1,4 @@
-CuSrcTask in cu29::cutask - Rust
cu29::cutask

Trait CuSrcTask

Source
pub trait CuSrcTask<'cl>: Freezable {
+CuSrcTask in cu29::cutask - Rust
cu29::cutask

Trait CuSrcTask

Source
pub trait CuSrcTask<'cl>: Freezable {
     type Output: CuMsgPack<'cl>;
 
     // Required methods
diff --git a/cu29/cutask/trait.CuTask.html b/cu29/cutask/trait.CuTask.html
index d420fb56d..a13e1a95a 100644
--- a/cu29/cutask/trait.CuTask.html
+++ b/cu29/cutask/trait.CuTask.html
@@ -1,4 +1,4 @@
-CuTask in cu29::cutask - Rust
cu29::cutask

Trait CuTask

Source
pub trait CuTask<'cl>: Freezable {
+CuTask in cu29::cutask - Rust
cu29::cutask

Trait CuTask

Source
pub trait CuTask<'cl>: Freezable {
     type Input: CuMsgPack<'cl>;
     type Output: CuMsgPack<'cl>;
 
diff --git a/cu29/cutask/trait.Freezable.html b/cu29/cutask/trait.Freezable.html
index 20f5637bf..62384eab0 100644
--- a/cu29/cutask/trait.Freezable.html
+++ b/cu29/cutask/trait.Freezable.html
@@ -1,4 +1,4 @@
-Freezable in cu29::cutask - Rust
cu29::cutask

Trait Freezable

Source
pub trait Freezable {
+Freezable in cu29::cutask - Rust
cu29::cutask

Trait Freezable

Source
pub trait Freezable {
     // Provided methods
     fn freeze<E>(&self, encoder: &mut E) -> Result<(), EncodeError>
        where E: Encoder { ... }
diff --git a/cu29/enum.UnifiedLogType.html b/cu29/enum.UnifiedLogType.html
index 88d3fb0a4..f67c3e8b9 100644
--- a/cu29/enum.UnifiedLogType.html
+++ b/cu29/enum.UnifiedLogType.html
@@ -1,14 +1,14 @@
-UnifiedLogType in cu29 - Rust
cu29

Enum UnifiedLogType

Source
pub enum UnifiedLogType {
+UnifiedLogType in cu29 - Rust
cu29

Enum UnifiedLogType

pub enum UnifiedLogType {
     Empty,
     StructuredLogLine,
     CopperList,
     LastEntry,
 }
Expand description

Defines the types of what can be logged in the unified logger.

-

Variants§

§

Empty

§

StructuredLogLine

§

CopperList

§

LastEntry

Trait Implementations§

Source§

impl<'__de> BorrowDecode<'__de> for UnifiedLogType

Source§

fn borrow_decode<__D>(decoder: &mut __D) -> Result<UnifiedLogType, DecodeError>
where - __D: BorrowDecoder<'__de>,

Attempt to decode this type with the given BorrowDecode.
Source§

impl Clone for UnifiedLogType

Source§

fn clone(&self) -> UnifiedLogType

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for UnifiedLogType

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Decode for UnifiedLogType

Source§

fn decode<__D>(decoder: &mut __D) -> Result<UnifiedLogType, DecodeError>
where - __D: Decoder,

Attempt to decode this type with the given Decode.
Source§

impl Encode for UnifiedLogType

Source§

fn encode<__E>(&self, encoder: &mut __E) -> Result<(), EncodeError>
where - __E: Encoder,

Encode a given type.
Source§

impl PartialEq for UnifiedLogType

Source§

fn eq(&self, other: &UnifiedLogType) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
Source§

impl Copy for UnifiedLogType

Source§

impl StructuralPartialEq for UnifiedLogType

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +

Variants§

§

Empty

§

StructuredLogLine

§

CopperList

§

LastEntry

Trait Implementations§

§

impl<'__de> BorrowDecode<'__de> for UnifiedLogType

§

fn borrow_decode<__D>(decoder: &mut __D) -> Result<UnifiedLogType, DecodeError>
where + __D: BorrowDecoder<'__de>,

Attempt to decode this type with the given BorrowDecode.
§

impl Clone for UnifiedLogType

§

fn clone(&self) -> UnifiedLogType

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for UnifiedLogType

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Decode for UnifiedLogType

§

fn decode<__D>(decoder: &mut __D) -> Result<UnifiedLogType, DecodeError>
where + __D: Decoder,

Attempt to decode this type with the given Decode.
§

impl Encode for UnifiedLogType

§

fn encode<__E>(&self, encoder: &mut __E) -> Result<(), EncodeError>
where + __E: Encoder,

Encode a given type.
§

impl PartialEq for UnifiedLogType

§

fn eq(&self, other: &UnifiedLogType) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl Copy for UnifiedLogType

§

impl StructuralPartialEq for UnifiedLogType

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where @@ -20,6 +20,6 @@

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> CopperListTuple for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> CopperListTuple for T
where T: Encode + Decode + Debug,

§

impl<T> ErasedDestructor for T
where T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/cu29/fn.read_configuration.html b/cu29/fn.read_configuration.html index 6a171f0e0..fffc5f070 100644 --- a/cu29/fn.read_configuration.html +++ b/cu29/fn.read_configuration.html @@ -1,2 +1,2 @@ -read_configuration in cu29 - Rust
cu29

Function read_configuration

Source
pub fn read_configuration(config_filename: &str) -> Result<CuConfig, CuError>
Expand description

Read a copper configuration from a file.

+read_configuration in cu29 - Rust
cu29

Function read_configuration

Source
pub fn read_configuration(config_filename: &str) -> Result<CuConfig, CuError>
Expand description

Read a copper configuration from a file.

\ No newline at end of file diff --git a/cu29/index.html b/cu29/index.html index 8e6bf9cee..aaca20b45 100644 --- a/cu29/index.html +++ b/cu29/index.html @@ -1,4 +1,4 @@ -cu29 - Rust

Crate cu29

Source
Expand description
logo +cu29 - Rust

Crate cu29

Source
Expand description
logo

§

§Copper

copper GitHub last commit @@ -252,7 +252,7 @@

§Roadmap

  • MCAP support: Allow the interfacing of Foxglove and ROS ecosystems at the logging level.
  • -

    Re-exports§

    pub use bincode;
    pub use cu29_clock as clock;

    Modules§

    config
    This module defines the configuration of the copper runtime. +

    Re-exports§

    pub use bincode;
    pub use cu29_clock as clock;

    Modules§

    config
    This module defines the configuration of the copper runtime. The configuration is a directed graph where nodes are tasks and edges are connections between tasks. The configuration is serialized in the RON format. The configuration is used to generate the runtime code at compile time.
    copperlist
    CopperList is the main data structure used by Copper to communicate between tasks. diff --git a/cu29/macro.input_msg.html b/cu29/macro.input_msg.html index 16ce92e17..046776eba 100644 --- a/cu29/macro.input_msg.html +++ b/cu29/macro.input_msg.html @@ -1,4 +1,4 @@ -input_msg in cu29 - Rust
    cu29

    Macro input_msg

    Source
    macro_rules! input_msg {
    +input_msg in cu29 - Rust
    cu29

    Macro input_msg

    Source
    macro_rules! input_msg {
         ($lifetime:lifetime, $ty:ty) => { ... };
         ($lifetime:lifetime, $($ty:ty),*) => { ... };
     }
    \ No newline at end of file diff --git a/cu29/macro.output_msg.html b/cu29/macro.output_msg.html index 4630c8776..381c4a039 100644 --- a/cu29/macro.output_msg.html +++ b/cu29/macro.output_msg.html @@ -1,3 +1,3 @@ -output_msg in cu29 - Rust
    cu29

    Macro output_msg

    Source
    macro_rules! output_msg {
    +output_msg in cu29 - Rust
    cu29

    Macro output_msg

    Source
    macro_rules! output_msg {
         ($lifetime:lifetime, $ty:ty) => { ... };
     }
    \ No newline at end of file diff --git a/cu29/monitoring/enum.CuTaskState.html b/cu29/monitoring/enum.CuTaskState.html index e744f4016..b39a1ff7f 100644 --- a/cu29/monitoring/enum.CuTaskState.html +++ b/cu29/monitoring/enum.CuTaskState.html @@ -1,4 +1,4 @@ -CuTaskState in cu29::monitoring - Rust
    cu29::monitoring

    Enum CuTaskState

    Source
    pub enum CuTaskState {
    +CuTaskState in cu29::monitoring - Rust
    cu29::monitoring

    Enum CuTaskState

    Source
    pub enum CuTaskState {
         Start,
         Preprocess,
         Process,
    diff --git a/cu29/monitoring/enum.Decision.html b/cu29/monitoring/enum.Decision.html
    index 97eb97016..fafe84d3b 100644
    --- a/cu29/monitoring/enum.Decision.html
    +++ b/cu29/monitoring/enum.Decision.html
    @@ -1,4 +1,4 @@
    -Decision in cu29::monitoring - Rust
    cu29::monitoring

    Enum Decision

    Source
    pub enum Decision {
    +Decision in cu29::monitoring - Rust
    cu29::monitoring

    Enum Decision

    Source
    pub enum Decision {
         Abort,
         Ignore,
         Shutdown,
    diff --git a/cu29/monitoring/index.html b/cu29/monitoring/index.html
    index 5b67d2dd2..e7d7b4bb0 100644
    --- a/cu29/monitoring/index.html
    +++ b/cu29/monitoring/index.html
    @@ -1,4 +1,4 @@
    -cu29::monitoring - Rust
    cu29

    Module monitoring

    Source
    Expand description

    Some basic internal monitoring tooling Copper uses to monitor itself and the tasks it is running.

    +cu29::monitoring - Rust
    cu29

    Module monitoring

    Source
    Expand description

    Some basic internal monitoring tooling Copper uses to monitor itself and the tasks it is running.

    Structs§

    CountingAllocator
    A simple allocator that counts the number of bytes allocated and deallocated.
    CuDurationStatistics
    A Specialized statistics object for CuDuration. It will also keep track of the jitter between the values.
    LiveStatistics
    Accumulative stat object that can give your some real time statistics.
    NoMonitor
    A do nothing monitor if no monitor is provided. This is basically defining the default behavior of Copper in case of error.
    ScopedAllocCounter
    A simple struct that counts the number of bytes allocated and deallocated in a scope.

    Enums§

    CuTaskState
    The state of a task.
    Decision
    Monitor decision to be taken when a task errored out.

    Statics§

    GLOBAL

    Traits§

    CuMonitor
    Trait to implement a monitoring task.
    \ No newline at end of file diff --git a/cu29/monitoring/static.GLOBAL.html b/cu29/monitoring/static.GLOBAL.html index 14a9bda33..87b258ed0 100644 --- a/cu29/monitoring/static.GLOBAL.html +++ b/cu29/monitoring/static.GLOBAL.html @@ -1 +1 @@ -GLOBAL in cu29::monitoring - Rust
    cu29::monitoring

    Static GLOBAL

    Source
    pub static GLOBAL: CountingAllocator
    \ No newline at end of file +GLOBAL in cu29::monitoring - Rust
    cu29::monitoring

    Static GLOBAL

    Source
    pub static GLOBAL: CountingAllocator
    \ No newline at end of file diff --git a/cu29/monitoring/struct.CountingAllocator.html b/cu29/monitoring/struct.CountingAllocator.html index 1256c5a25..46fc218d6 100644 --- a/cu29/monitoring/struct.CountingAllocator.html +++ b/cu29/monitoring/struct.CountingAllocator.html @@ -1,4 +1,4 @@ -CountingAllocator in cu29::monitoring - Rust
    cu29::monitoring

    Struct CountingAllocator

    Source
    pub struct CountingAllocator { /* private fields */ }
    Expand description

    A simple allocator that counts the number of bytes allocated and deallocated.

    +CountingAllocator in cu29::monitoring - Rust
    cu29::monitoring

    Struct CountingAllocator

    Source
    pub struct CountingAllocator { /* private fields */ }
    Expand description

    A simple allocator that counts the number of bytes allocated and deallocated.

    Implementations§

    Trait Implementations§

    Source§

    impl Default for CountingAllocator

    Source§

    fn default() -> CountingAllocator

    Returns the “default value” for a type. Read more
    Source§

    impl GlobalAlloc for CountingAllocator

    Source§

    unsafe fn alloc(&self, layout: Layout) -> *mut u8

    Allocates memory as described by the given layout. Read more
    Source§

    unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout)

    Deallocates the block of memory at the given ptr pointer with the given layout. Read more
    1.28.0 · Source§

    unsafe fn alloc_zeroed(&self, layout: Layout) -> *mut u8

    Behaves like alloc, but also ensures that the contents are set to zero before being returned. Read more
    1.28.0 · Source§

    unsafe fn realloc( &self, diff --git a/cu29/monitoring/struct.CuDurationStatistics.html b/cu29/monitoring/struct.CuDurationStatistics.html index 1b350375c..e7ded3a33 100644 --- a/cu29/monitoring/struct.CuDurationStatistics.html +++ b/cu29/monitoring/struct.CuDurationStatistics.html @@ -1,4 +1,4 @@ -CuDurationStatistics in cu29::monitoring - Rust
    cu29::monitoring

    Struct CuDurationStatistics

    Source
    pub struct CuDurationStatistics { /* private fields */ }
    Expand description

    A Specialized statistics object for CuDuration. +CuDurationStatistics in cu29::monitoring - Rust

    cu29::monitoring

    Struct CuDurationStatistics

    Source
    pub struct CuDurationStatistics { /* private fields */ }
    Expand description

    A Specialized statistics object for CuDuration. It will also keep track of the jitter between the values.

    Implementations§

    Source§

    impl CuDurationStatistics

    Source

    pub fn new(max: CuDuration) -> CuDurationStatistics

    Source

    pub fn min(&self) -> CuDuration

    Source

    pub fn max(&self) -> CuDuration

    Source

    pub fn mean(&self) -> CuDuration

    Source

    pub fn percentile(&self, percentile: f64) -> CuDuration

    Source

    pub fn stddev(&self) -> CuDuration

    Source

    pub fn len(&self) -> u64

    Source

    pub fn is_empty(&self) -> bool

    Source

    pub fn jitter_min(&self) -> CuDuration

    Source

    pub fn jitter_max(&self) -> CuDuration

    Source

    pub fn jitter_mean(&self) -> CuDuration

    Source

    pub fn jitter_stddev(&self) -> CuDuration

    Source

    pub fn jitter_percentile(&self, percentile: f64) -> CuDuration

    Source

    pub fn record(&mut self, value: CuDuration)

    Source

    pub fn reset(&mut self)

    Trait Implementations§

    Source§

    impl Clone for CuDurationStatistics

    Source§

    fn clone(&self) -> CuDurationStatistics

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for CuDurationStatistics

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where diff --git a/cu29/monitoring/struct.LiveStatistics.html b/cu29/monitoring/struct.LiveStatistics.html index 140a950d1..1f28afcff 100644 --- a/cu29/monitoring/struct.LiveStatistics.html +++ b/cu29/monitoring/struct.LiveStatistics.html @@ -1,4 +1,4 @@ -LiveStatistics in cu29::monitoring - Rust
    cu29::monitoring

    Struct LiveStatistics

    Source
    pub struct LiveStatistics { /* private fields */ }
    Expand description

    Accumulative stat object that can give your some real time statistics.

    +LiveStatistics in cu29::monitoring - Rust
    cu29::monitoring

    Struct LiveStatistics

    Source
    pub struct LiveStatistics { /* private fields */ }
    Expand description

    Accumulative stat object that can give your some real time statistics.

    Implementations§

    Source§

    impl LiveStatistics

    Source

    pub fn new_unbounded() -> LiveStatistics

    Source

    pub fn new_with_max(max: u64) -> LiveStatistics

    Source

    pub fn min(&self) -> u64

    Source

    pub fn max(&self) -> u64

    Source

    pub fn mean(&self) -> f64

    Source

    pub fn percentile(&self, percentile: f64) -> u64

    Source

    pub fn record(&mut self, value: u64)

    Adds a value to the statistics.

    Source

    pub fn len(&self) -> u64

    Source

    pub fn is_empty(&self) -> bool

    Source

    pub fn reset(&mut self)

    Trait Implementations§

    Source§

    impl Clone for LiveStatistics

    Source§

    fn clone(&self) -> LiveStatistics

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for LiveStatistics

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where diff --git a/cu29/monitoring/struct.NoMonitor.html b/cu29/monitoring/struct.NoMonitor.html index 895399e64..aae0dea65 100644 --- a/cu29/monitoring/struct.NoMonitor.html +++ b/cu29/monitoring/struct.NoMonitor.html @@ -1,4 +1,4 @@ -NoMonitor in cu29::monitoring - Rust
    cu29::monitoring

    Struct NoMonitor

    Source
    pub struct NoMonitor {}
    Expand description

    A do nothing monitor if no monitor is provided. +NoMonitor in cu29::monitoring - Rust

    cu29::monitoring

    Struct NoMonitor

    Source
    pub struct NoMonitor {}
    Expand description

    A do nothing monitor if no monitor is provided. This is basically defining the default behavior of Copper in case of error.

    Trait Implementations§

    Source§

    impl CuMonitor for NoMonitor

    Source§

    fn new( _config: &CuConfig, diff --git a/cu29/monitoring/struct.ScopedAllocCounter.html b/cu29/monitoring/struct.ScopedAllocCounter.html index fb15d817b..4c8349fd3 100644 --- a/cu29/monitoring/struct.ScopedAllocCounter.html +++ b/cu29/monitoring/struct.ScopedAllocCounter.html @@ -1,4 +1,4 @@ -ScopedAllocCounter in cu29::monitoring - Rust
    cu29::monitoring

    Struct ScopedAllocCounter

    Source
    pub struct ScopedAllocCounter { /* private fields */ }
    Expand description

    A simple struct that counts the number of bytes allocated and deallocated in a scope.

    +ScopedAllocCounter in cu29::monitoring - Rust
    cu29::monitoring

    Struct ScopedAllocCounter

    Source
    pub struct ScopedAllocCounter { /* private fields */ }
    Expand description

    A simple struct that counts the number of bytes allocated and deallocated in a scope.

    Implementations§

    Source§

    impl ScopedAllocCounter

    Source

    pub fn new() -> ScopedAllocCounter

    Source

    pub fn get_allocated(&self) -> usize

    Returns the total number of bytes allocated in the current scope since the creation of this ScopedAllocCounter.

    §Example
    diff --git a/cu29/monitoring/trait.CuMonitor.html b/cu29/monitoring/trait.CuMonitor.html index 9e7a2c13a..588b75507 100644 --- a/cu29/monitoring/trait.CuMonitor.html +++ b/cu29/monitoring/trait.CuMonitor.html @@ -1,4 +1,4 @@ -CuMonitor in cu29::monitoring - Rust
    cu29::monitoring

    Trait CuMonitor

    Source
    pub trait CuMonitor: Sized {
    +CuMonitor in cu29::monitoring - Rust
    cu29::monitoring

    Trait CuMonitor

    Source
    pub trait CuMonitor: Sized {
         // Required methods
         fn new(
             config: &CuConfig,
    diff --git a/cu29/payload/index.html b/cu29/payload/index.html
    index 34ec3e678..9e418bddb 100644
    --- a/cu29/payload/index.html
    +++ b/cu29/payload/index.html
    @@ -1 +1 @@
    -cu29::payload - Rust
    cu29

    Module payload

    Source

    Structs§

    CuArray
    Copper friendly wrapper for a fixed size array.
    \ No newline at end of file +cu29::payload - Rust
    cu29

    Module payload

    Source

    Structs§

    CuArray
    Copper friendly wrapper for a fixed size array.
    \ No newline at end of file diff --git a/cu29/payload/struct.CuArray.html b/cu29/payload/struct.CuArray.html index 9f4fe7c42..5e83a067e 100644 --- a/cu29/payload/struct.CuArray.html +++ b/cu29/payload/struct.CuArray.html @@ -1,4 +1,4 @@ -CuArray in cu29::payload - Rust
    cu29::payload

    Struct CuArray

    Source
    pub struct CuArray<T, const N: usize> { /* private fields */ }
    Expand description

    Copper friendly wrapper for a fixed size array.

    +CuArray in cu29::payload - Rust
    cu29::payload

    Struct CuArray

    Source
    pub struct CuArray<T, const N: usize> { /* private fields */ }
    Expand description

    Copper friendly wrapper for a fixed size array.

    Implementations§

    Source§

    impl<T, const N: usize> CuArray<T, N>

    Source

    pub fn new() -> CuArray<T, N>

    Source

    pub fn fill_from_iter<I>(&mut self, iter: I)
    where I: IntoIterator<Item = T>,

    Source

    pub fn len(&self) -> usize

    Source

    pub fn is_empty(&self) -> bool

    Source

    pub fn as_slice(&self) -> &[T]

    Source

    pub fn capacity(&self) -> usize

    Trait Implementations§

    Source§

    impl<T, const N: usize> Clone for CuArray<T, N>
    where T: Clone,

    Source§

    fn clone(&self) -> CuArray<T, N>

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl<T, const N: usize> Debug for CuArray<T, N>
    where @@ -25,7 +25,7 @@

    Source§

    impl<T> ToOwned for T
    where T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    Source§

    impl<T> CopperListTuple for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> CopperListTuple for T
    where T: Encode + Decode + Debug,

    Source§

    impl<T> CuMsgPayload for T
    where T: Default + Debug + Clone + Encode + Decode,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/cu29/prelude/attr.copper_runtime.html b/cu29/prelude/attr.copper_runtime.html index f21a5150e..922c5cacf 100644 --- a/cu29/prelude/attr.copper_runtime.html +++ b/cu29/prelude/attr.copper_runtime.html @@ -1,4 +1,4 @@ -copper_runtime in cu29::prelude - Rust
    cu29::prelude

    Attribute Macro copper_runtime

    Source
    #[copper_runtime]
    Expand description

    Adds #[copper_runtime(config = “path”, sim_mode = false/true)] to your application struct to generate the runtime. +copper_runtime in cu29::prelude - Rust

    cu29::prelude

    Attribute Macro copper_runtime

    Source
    #[copper_runtime]
    Expand description

    Adds #[copper_runtime(config = “path”, sim_mode = false/true)] to your application struct to generate the runtime. if sim_mode is omitted, it is set to false. This will add a “runtime” field to your struct and implement the “new” and “run” methods.

    \ No newline at end of file diff --git a/cu29/prelude/config/fn.read_configuration.html b/cu29/prelude/config/fn.read_configuration.html index 98580c9f2..a013281a8 100644 --- a/cu29/prelude/config/fn.read_configuration.html +++ b/cu29/prelude/config/fn.read_configuration.html @@ -1,2 +1,2 @@ -read_configuration in cu29::prelude::config - Rust
    cu29::prelude::config

    Function read_configuration

    Source
    pub fn read_configuration(config_filename: &str) -> Result<CuConfig, CuError>
    Expand description

    Read a copper configuration from a file.

    +read_configuration in cu29::prelude::config - Rust
    cu29::prelude::config

    Function read_configuration

    Source
    pub fn read_configuration(config_filename: &str) -> Result<CuConfig, CuError>
    Expand description

    Read a copper configuration from a file.

    \ No newline at end of file diff --git a/cu29/prelude/config/fn.read_configuration_str.html b/cu29/prelude/config/fn.read_configuration_str.html index defa16179..075ce22b6 100644 --- a/cu29/prelude/config/fn.read_configuration_str.html +++ b/cu29/prelude/config/fn.read_configuration_str.html @@ -1,4 +1,4 @@ -read_configuration_str in cu29::prelude::config - Rust
    cu29::prelude::config

    Function read_configuration_str

    Source
    pub fn read_configuration_str(
    +read_configuration_str in cu29::prelude::config - Rust
    cu29::prelude::config

    Function read_configuration_str

    Source
    pub fn read_configuration_str(
         config_content: String,
     ) -> Result<CuConfig, CuError>
    Expand description

    Read a copper configuration from a String.

    \ No newline at end of file diff --git a/cu29/prelude/config/index.html b/cu29/prelude/config/index.html index 7a5f595fe..8540b2957 100644 --- a/cu29/prelude/config/index.html +++ b/cu29/prelude/config/index.html @@ -1,4 +1,4 @@ -cu29::prelude::config - Rust
    cu29::prelude

    Module config

    Source
    Expand description

    This module defines the configuration of the copper runtime. +cu29::prelude::config - Rust

    cu29::prelude

    Module config

    Source
    Expand description

    This module defines the configuration of the copper runtime. The configuration is a directed graph where nodes are tasks and edges are connections between tasks. The configuration is serialized in the RON format. The configuration is used to generate the runtime code at compile time.

    diff --git a/cu29/prelude/config/struct.Cnx.html b/cu29/prelude/config/struct.Cnx.html index cfe09f535..d20c5d997 100644 --- a/cu29/prelude/config/struct.Cnx.html +++ b/cu29/prelude/config/struct.Cnx.html @@ -1,4 +1,4 @@ -Cnx in cu29::prelude::config - Rust
    cu29::prelude::config

    Struct Cnx

    Source
    pub struct Cnx {
    +Cnx in cu29::prelude::config - Rust
    cu29::prelude::config

    Struct Cnx

    Source
    pub struct Cnx {
         pub msg: String,
         pub batch: Option<u32>,
         pub store: Option<bool>,
    diff --git a/cu29/prelude/config/struct.ComponentConfig.html b/cu29/prelude/config/struct.ComponentConfig.html
    index a05272d07..78b1d2f64 100644
    --- a/cu29/prelude/config/struct.ComponentConfig.html
    +++ b/cu29/prelude/config/struct.ComponentConfig.html
    @@ -1,4 +1,4 @@
    -ComponentConfig in cu29::prelude::config - Rust
    cu29::prelude::config

    Struct ComponentConfig

    Source
    pub struct ComponentConfig(pub HashMap<String, Value>);
    Expand description

    This is the configuration of a component (like a task config or a monitoring config):w +ComponentConfig in cu29::prelude::config - Rust

    cu29::prelude::config

    Struct ComponentConfig

    Source
    pub struct ComponentConfig(pub HashMap<String, Value>);
    Expand description

    This is the configuration of a component (like a task config or a monitoring config):w It is a map of key-value pairs. It is given to the new method of the task implementation.

    Tuple Fields§

    §0: HashMap<String, Value>

    Implementations§

    Source§

    impl ComponentConfig

    Source

    pub fn new() -> ComponentConfig

    Source

    pub fn get<T>(&self, key: &str) -> Option<T>
    where diff --git a/cu29/prelude/config/struct.CuConfig.html b/cu29/prelude/config/struct.CuConfig.html index 2078a07f5..905023616 100644 --- a/cu29/prelude/config/struct.CuConfig.html +++ b/cu29/prelude/config/struct.CuConfig.html @@ -1,4 +1,4 @@ -CuConfig in cu29::prelude::config - Rust
    cu29::prelude::config

    Struct CuConfig

    Source
    pub struct CuConfig {
    +CuConfig in cu29::prelude::config - Rust
    cu29::prelude::config

    Struct CuConfig

    Source
    pub struct CuConfig {
         pub graph: StableGraph<Node, Cnx>,
         pub monitor: Option<MonitorConfig>,
         pub logging: Option<LoggingConfig>,
    diff --git a/cu29/prelude/config/struct.LoggingConfig.html b/cu29/prelude/config/struct.LoggingConfig.html
    index 7e2eb529e..6408fb64d 100644
    --- a/cu29/prelude/config/struct.LoggingConfig.html
    +++ b/cu29/prelude/config/struct.LoggingConfig.html
    @@ -1,4 +1,4 @@
    -LoggingConfig in cu29::prelude::config - Rust
    cu29::prelude::config

    Struct LoggingConfig

    Source
    pub struct LoggingConfig {
    +LoggingConfig in cu29::prelude::config - Rust
    cu29::prelude::config

    Struct LoggingConfig

    Source
    pub struct LoggingConfig {
         pub slab_size_mib: Option<u64>,
         pub section_size_mib: Option<u64>,
         pub enable_task_logging: bool,
    diff --git a/cu29/prelude/config/struct.MonitorConfig.html b/cu29/prelude/config/struct.MonitorConfig.html
    index ed2cbe6c7..89a6e0157 100644
    --- a/cu29/prelude/config/struct.MonitorConfig.html
    +++ b/cu29/prelude/config/struct.MonitorConfig.html
    @@ -1,4 +1,4 @@
    -MonitorConfig in cu29::prelude::config - Rust
    cu29::prelude::config

    Struct MonitorConfig

    Source
    pub struct MonitorConfig { /* private fields */ }

    Implementations§

    Trait Implementations§

    Source§

    impl Clone for MonitorConfig

    Source§

    fn clone(&self) -> MonitorConfig

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for MonitorConfig

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl Default for MonitorConfig

    Source§

    fn default() -> MonitorConfig

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for MonitorConfig

    Source§

    fn deserialize<__D>( +MonitorConfig in cu29::prelude::config - Rust
    cu29::prelude::config

    Struct MonitorConfig

    Source
    pub struct MonitorConfig { /* private fields */ }

    Implementations§

    Trait Implementations§

    Source§

    impl Clone for MonitorConfig

    Source§

    fn clone(&self) -> MonitorConfig

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for MonitorConfig

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl Default for MonitorConfig

    Source§

    fn default() -> MonitorConfig

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for MonitorConfig

    Source§

    fn deserialize<__D>( __deserializer: __D, ) -> Result<MonitorConfig, <__D as Deserializer<'de>>::Error>
    where __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for MonitorConfig

    Source§

    fn serialize<__S>( diff --git a/cu29/prelude/config/struct.Node.html b/cu29/prelude/config/struct.Node.html index 50ea7c373..0b5b273e5 100644 --- a/cu29/prelude/config/struct.Node.html +++ b/cu29/prelude/config/struct.Node.html @@ -1,4 +1,4 @@ -Node in cu29::prelude::config - Rust
    cu29::prelude::config

    Struct Node

    Source
    pub struct Node { /* private fields */ }
    Expand description

    A node in the configuration graph. +Node in cu29::prelude::config - Rust

    cu29::prelude::config

    Struct Node

    Source
    pub struct Node { /* private fields */ }
    Expand description

    A node in the configuration graph. A node represents a Task in the system Graph.

    Implementations§

    Source§

    impl Node

    Source

    pub fn new(id: &str, ptype: &str) -> Node

    Source

    pub fn get_id(&self) -> String

    Source

    pub fn set_type(self, name: Option<String>) -> Node

    Source

    pub fn get_type(&self) -> &str

    Source

    pub fn get_instance_config(&self) -> Option<&ComponentConfig>

    Source

    pub fn get_param<T>(&self, key: &str) -> Option<T>
    where T: From<Value>,

    Source

    pub fn set_param<T>(&mut self, key: &str, value: T)
    where diff --git a/cu29/prelude/config/struct.Value.html b/cu29/prelude/config/struct.Value.html index ddfce6297..0be678297 100644 --- a/cu29/prelude/config/struct.Value.html +++ b/cu29/prelude/config/struct.Value.html @@ -1,4 +1,4 @@ -Value in cu29::prelude::config - Rust
    cu29::prelude::config

    Struct Value

    Source
    pub struct Value(/* private fields */);
    Expand description

    Wrapper around the ron::Value to allow for custom serialization.

    +Value in cu29::prelude::config - Rust
    cu29::prelude::config

    Struct Value

    Source
    pub struct Value(/* private fields */);
    Expand description

    Wrapper around the ron::Value to allow for custom serialization.

    Trait Implementations§

    Source§

    impl Clone for Value

    Source§

    fn clone(&self) -> Value

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Value

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for Value

    Source§

    fn deserialize<__D>( __deserializer: __D, ) -> Result<Value, <__D as Deserializer<'de>>::Error>
    where diff --git a/cu29/prelude/config/type.NodeId.html b/cu29/prelude/config/type.NodeId.html index 1621d8b43..acc947324 100644 --- a/cu29/prelude/config/type.NodeId.html +++ b/cu29/prelude/config/type.NodeId.html @@ -1,3 +1,3 @@ -NodeId in cu29::prelude::config - Rust
    cu29::prelude::config

    Type Alias NodeId

    Source
    pub type NodeId = u32;
    Expand description

    NodeId is the unique identifier of a node in the configuration graph for petgraph +NodeId in cu29::prelude::config - Rust

    cu29::prelude::config

    Type Alias NodeId

    Source
    pub type NodeId = u32;
    Expand description

    NodeId is the unique identifier of a node in the configuration graph for petgraph and the code generation.

    \ No newline at end of file diff --git a/cu29/prelude/constant.ANONYMOUS.html b/cu29/prelude/constant.ANONYMOUS.html index 49dc8c239..c55842c1d 100644 --- a/cu29/prelude/constant.ANONYMOUS.html +++ b/cu29/prelude/constant.ANONYMOUS.html @@ -1 +1 @@ -ANONYMOUS in cu29::prelude - Rust
    cu29::prelude

    Constant ANONYMOUS

    Source
    pub const ANONYMOUS: u32 = 0; // 0u32
    \ No newline at end of file +ANONYMOUS in cu29::prelude - Rust
    cu29::prelude

    Constant ANONYMOUS

    pub const ANONYMOUS: u32 = 0; // 0u32
    \ No newline at end of file diff --git a/cu29/prelude/constant.MAX_LOG_PARAMS_ON_STACK.html b/cu29/prelude/constant.MAX_LOG_PARAMS_ON_STACK.html index 8ac2854d1..b0d3bb90b 100644 --- a/cu29/prelude/constant.MAX_LOG_PARAMS_ON_STACK.html +++ b/cu29/prelude/constant.MAX_LOG_PARAMS_ON_STACK.html @@ -1 +1 @@ -MAX_LOG_PARAMS_ON_STACK in cu29::prelude - Rust
    cu29::prelude

    Constant MAX_LOG_PARAMS_ON_STACK

    Source
    pub const MAX_LOG_PARAMS_ON_STACK: usize = 10; // 10usize
    \ No newline at end of file +MAX_LOG_PARAMS_ON_STACK in cu29::prelude - Rust
    cu29::prelude

    Constant MAX_LOG_PARAMS_ON_STACK

    pub const MAX_LOG_PARAMS_ON_STACK: usize = 10; // 10usize
    \ No newline at end of file diff --git a/cu29/prelude/copperlist/enum.CopperListState.html b/cu29/prelude/copperlist/enum.CopperListState.html index 6b23e7ac1..86fe37d0c 100644 --- a/cu29/prelude/copperlist/enum.CopperListState.html +++ b/cu29/prelude/copperlist/enum.CopperListState.html @@ -1,4 +1,4 @@ -CopperListState in cu29::prelude::copperlist - Rust
    cu29::prelude::copperlist

    Enum CopperListState

    Source
    pub enum CopperListState {
    +CopperListState in cu29::prelude::copperlist - Rust
    cu29::prelude::copperlist

    Enum CopperListState

    Source
    pub enum CopperListState {
         Free,
         Initialized,
         Processing,
    @@ -28,6 +28,6 @@
         T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    Source§

    fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    Source§

    impl<T> CopperListTuple for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> CopperListTuple for T
    where T: Encode + Decode + Debug,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/cu29/prelude/copperlist/index.html b/cu29/prelude/copperlist/index.html index cf1097514..c42a46311 100644 --- a/cu29/prelude/copperlist/index.html +++ b/cu29/prelude/copperlist/index.html @@ -1,4 +1,4 @@ -cu29::prelude::copperlist - Rust
    cu29::prelude

    Module copperlist

    Source
    Expand description

    CopperList is the main data structure used by Copper to communicate between tasks. +cu29::prelude::copperlist - Rust

    cu29::prelude

    Module copperlist

    Source
    Expand description

    CopperList is the main data structure used by Copper to communicate between tasks. It is a queue that can be used to store preallocated messages between tasks in memory order.

    Structs§

    CopperLiskMask
    Not implemented yet. This mask will be used to for example filter out necessary regions of a copper list between remote systems.
    CopperList
    CuListsManager
    This structure maintains the entire memory needed by Copper for one loop for the inter tasks communication within a process. diff --git a/cu29/prelude/copperlist/struct.CopperLiskMask.html b/cu29/prelude/copperlist/struct.CopperLiskMask.html index be0641ed7..41d671100 100644 --- a/cu29/prelude/copperlist/struct.CopperLiskMask.html +++ b/cu29/prelude/copperlist/struct.CopperLiskMask.html @@ -1,4 +1,4 @@ -CopperLiskMask in cu29::prelude::copperlist - Rust
    cu29::prelude::copperlist

    Struct CopperLiskMask

    Source
    pub struct CopperLiskMask { /* private fields */ }
    Expand description

    Not implemented yet. +CopperLiskMask in cu29::prelude::copperlist - Rust

    cu29::prelude::copperlist

    Struct CopperLiskMask

    Source
    pub struct CopperLiskMask { /* private fields */ }
    Expand description

    Not implemented yet. This mask will be used to for example filter out necessary regions of a copper list between remote systems.

    Trait Implementations§

    Source§

    impl<'__de> BorrowDecode<'__de> for CopperLiskMask

    Source§

    fn borrow_decode<__D>(decoder: &mut __D) -> Result<CopperLiskMask, DecodeError>
    where __D: BorrowDecoder<'__de>,

    Attempt to decode this type with the given BorrowDecode.
    Source§

    impl Clone for CopperLiskMask

    Source§

    fn clone(&self) -> CopperLiskMask

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for CopperLiskMask

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl Decode for CopperLiskMask

    Source§

    fn decode<__D>(decoder: &mut __D) -> Result<CopperLiskMask, DecodeError>
    where @@ -16,6 +16,6 @@

    Source§

    impl<T> ToOwned for T
    where T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    Source§

    impl<T> CopperListTuple for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> CopperListTuple for T
    where T: Encode + Decode + Debug,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/cu29/prelude/copperlist/struct.CopperList.html b/cu29/prelude/copperlist/struct.CopperList.html index 6d8351327..31b509cb0 100644 --- a/cu29/prelude/copperlist/struct.CopperList.html +++ b/cu29/prelude/copperlist/struct.CopperList.html @@ -1,4 +1,4 @@ -CopperList in cu29::prelude::copperlist - Rust
    cu29::prelude::copperlist

    Struct CopperList

    Source
    pub struct CopperList<P>
    where +CopperList in cu29::prelude::copperlist - Rust
    cu29::prelude::copperlist

    Struct CopperList

    Source
    pub struct CopperList<P>
    where P: CopperListTuple,
    { pub id: u32, pub msgs: P, @@ -27,6 +27,6 @@ From<T> for U chooses to do.

    Source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    Source§

    impl<T> CopperListTuple for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> CopperListTuple for T
    where T: Encode + Decode + Debug,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/cu29/prelude/copperlist/struct.CuListsManager.html b/cu29/prelude/copperlist/struct.CuListsManager.html index 89e081767..6ed13275a 100644 --- a/cu29/prelude/copperlist/struct.CuListsManager.html +++ b/cu29/prelude/copperlist/struct.CuListsManager.html @@ -1,4 +1,4 @@ -CuListsManager in cu29::prelude::copperlist - Rust
    cu29::prelude::copperlist

    Struct CuListsManager

    Source
    pub struct CuListsManager<P, const N: usize>
    where +CuListsManager in cu29::prelude::copperlist - Rust
    cu29::prelude::copperlist

    Struct CuListsManager

    Source
    pub struct CuListsManager<P, const N: usize>
    where P: CopperListTuple,
    { /* private fields */ }
    Expand description

    This structure maintains the entire memory needed by Copper for one loop for the inter tasks communication within a process. P or Payload is typically a Tuple of various types of messages that are exchanged between tasks. N is the maximum number of in flight Copper List the runtime can support.

    diff --git a/cu29/prelude/copperlist/type.AscIter.html b/cu29/prelude/copperlist/type.AscIter.html index 96076b782..b64a0ee3b 100644 --- a/cu29/prelude/copperlist/type.AscIter.html +++ b/cu29/prelude/copperlist/type.AscIter.html @@ -1 +1 @@ -AscIter in cu29::prelude::copperlist - Rust
    cu29::prelude::copperlist

    Type Alias AscIter

    Source
    pub type AscIter<'a, T> = Chain<Iter<'a, T>, Iter<'a, T>>;

    Aliased Type§

    struct AscIter<'a, T> { /* private fields */ }
    \ No newline at end of file +AscIter in cu29::prelude::copperlist - Rust
    cu29::prelude::copperlist

    Type Alias AscIter

    Source
    pub type AscIter<'a, T> = Chain<Iter<'a, T>, Iter<'a, T>>;

    Aliased Type§

    struct AscIter<'a, T> { /* private fields */ }
    \ No newline at end of file diff --git a/cu29/prelude/copperlist/type.AscIterMut.html b/cu29/prelude/copperlist/type.AscIterMut.html index 748b36caf..279301695 100644 --- a/cu29/prelude/copperlist/type.AscIterMut.html +++ b/cu29/prelude/copperlist/type.AscIterMut.html @@ -1 +1 @@ -AscIterMut in cu29::prelude::copperlist - Rust
    cu29::prelude::copperlist

    Type Alias AscIterMut

    Source
    pub type AscIterMut<'a, T> = Chain<IterMut<'a, T>, IterMut<'a, T>>;

    Aliased Type§

    struct AscIterMut<'a, T> { /* private fields */ }
    \ No newline at end of file +AscIterMut in cu29::prelude::copperlist - Rust
    cu29::prelude::copperlist

    Type Alias AscIterMut

    Source
    pub type AscIterMut<'a, T> = Chain<IterMut<'a, T>, IterMut<'a, T>>;

    Aliased Type§

    struct AscIterMut<'a, T> { /* private fields */ }
    \ No newline at end of file diff --git a/cu29/prelude/copperlist/type.Iter.html b/cu29/prelude/copperlist/type.Iter.html index d9d21ad7d..b15952974 100644 --- a/cu29/prelude/copperlist/type.Iter.html +++ b/cu29/prelude/copperlist/type.Iter.html @@ -1 +1 @@ -Iter in cu29::prelude::copperlist - Rust
    cu29::prelude::copperlist

    Type Alias Iter

    Source
    pub type Iter<'a, T> = Chain<Rev<Iter<'a, T>>, Rev<Iter<'a, T>>>;

    Aliased Type§

    struct Iter<'a, T> { /* private fields */ }
    \ No newline at end of file +Iter in cu29::prelude::copperlist - Rust
    cu29::prelude::copperlist

    Type Alias Iter

    Source
    pub type Iter<'a, T> = Chain<Rev<Iter<'a, T>>, Rev<Iter<'a, T>>>;

    Aliased Type§

    struct Iter<'a, T> { /* private fields */ }
    \ No newline at end of file diff --git a/cu29/prelude/copperlist/type.IterMut.html b/cu29/prelude/copperlist/type.IterMut.html index 5f3a93f97..fcfdb9388 100644 --- a/cu29/prelude/copperlist/type.IterMut.html +++ b/cu29/prelude/copperlist/type.IterMut.html @@ -1 +1 @@ -IterMut in cu29::prelude::copperlist - Rust
    cu29::prelude::copperlist

    Type Alias IterMut

    Source
    pub type IterMut<'a, T> = Chain<Rev<IterMut<'a, T>>, Rev<IterMut<'a, T>>>;

    Aliased Type§

    struct IterMut<'a, T> { /* private fields */ }
    \ No newline at end of file +IterMut in cu29::prelude::copperlist - Rust
    cu29::prelude::copperlist

    Type Alias IterMut

    Source
    pub type IterMut<'a, T> = Chain<Rev<IterMut<'a, T>>, Rev<IterMut<'a, T>>>;

    Aliased Type§

    struct IterMut<'a, T> { /* private fields */ }
    \ No newline at end of file diff --git a/cu29/prelude/curuntime/enum.CuExecutionUnit.html b/cu29/prelude/curuntime/enum.CuExecutionUnit.html index 15d994934..95d8ffd52 100644 --- a/cu29/prelude/curuntime/enum.CuExecutionUnit.html +++ b/cu29/prelude/curuntime/enum.CuExecutionUnit.html @@ -1,4 +1,4 @@ -CuExecutionUnit in cu29::prelude::curuntime - Rust
    cu29::prelude::curuntime

    Enum CuExecutionUnit

    Source
    pub enum CuExecutionUnit {
    +CuExecutionUnit in cu29::prelude::curuntime - Rust
    cu29::prelude::curuntime

    Enum CuExecutionUnit

    Source
    pub enum CuExecutionUnit {
         Step(CuExecutionStep),
         Loop(CuExecutionLoop),
     }
    Expand description

    This structure represents a step in the execution plan.

    diff --git a/cu29/prelude/curuntime/enum.CuTaskType.html b/cu29/prelude/curuntime/enum.CuTaskType.html index 61e59129a..b6c9a41e7 100644 --- a/cu29/prelude/curuntime/enum.CuTaskType.html +++ b/cu29/prelude/curuntime/enum.CuTaskType.html @@ -1,4 +1,4 @@ -CuTaskType in cu29::prelude::curuntime - Rust
    cu29::prelude::curuntime

    Enum CuTaskType

    Source
    pub enum CuTaskType {
    +CuTaskType in cu29::prelude::curuntime - Rust
    cu29::prelude::curuntime

    Enum CuTaskType

    Source
    pub enum CuTaskType {
         Source,
         Regular,
         Sink,
    diff --git a/cu29/prelude/curuntime/fn.compute_runtime_plan.html b/cu29/prelude/curuntime/fn.compute_runtime_plan.html
    index 704745244..607813dc9 100644
    --- a/cu29/prelude/curuntime/fn.compute_runtime_plan.html
    +++ b/cu29/prelude/curuntime/fn.compute_runtime_plan.html
    @@ -1,4 +1,4 @@
    -compute_runtime_plan in cu29::prelude::curuntime - Rust
    cu29::prelude::curuntime

    Function compute_runtime_plan

    Source
    pub fn compute_runtime_plan(
    +compute_runtime_plan in cu29::prelude::curuntime - Rust
    cu29::prelude::curuntime

    Function compute_runtime_plan

    Source
    pub fn compute_runtime_plan(
         config: &CuConfig,
     ) -> Result<CuExecutionLoop, CuError>
    Expand description

    This is the main heuristics to compute an execution plan at compilation time. TODO: Make that heuristic pluggable.

    diff --git a/cu29/prelude/curuntime/fn.find_task_type_for_id.html b/cu29/prelude/curuntime/fn.find_task_type_for_id.html index 53ca9881b..80cbabf5c 100644 --- a/cu29/prelude/curuntime/fn.find_task_type_for_id.html +++ b/cu29/prelude/curuntime/fn.find_task_type_for_id.html @@ -1,4 +1,4 @@ -find_task_type_for_id in cu29::prelude::curuntime - Rust
    cu29::prelude::curuntime

    Function find_task_type_for_id

    Source
    pub fn find_task_type_for_id(
    +find_task_type_for_id in cu29::prelude::curuntime - Rust
    cu29::prelude::curuntime

    Function find_task_type_for_id

    Source
    pub fn find_task_type_for_id(
         graph: &StableGraph<Node, Cnx>,
         node_id: u32,
     ) -> CuTaskType
    \ No newline at end of file diff --git a/cu29/prelude/curuntime/index.html b/cu29/prelude/curuntime/index.html index a865f555b..d67e80192 100644 --- a/cu29/prelude/curuntime/index.html +++ b/cu29/prelude/curuntime/index.html @@ -1,4 +1,4 @@ -cu29::prelude::curuntime - Rust
    cu29::prelude

    Module curuntime

    Source
    Expand description

    CuRuntime is the heart of what copper is running on the robot. +cu29::prelude::curuntime - Rust

    cu29::prelude

    Module curuntime

    Source
    Expand description

    CuRuntime is the heart of what copper is running on the robot. It is exposed to the user via the copper_runtime macro injecting it as a field in their application struct.

    Structs§

    CopperContext
    Just a simple struct to hold the various bits needed to run a Copper application.
    CuExecutionLoop
    This structure represents a loop in the execution plan. It is used to represent a sequence of Execution units (loop or steps) that are executed diff --git a/cu29/prelude/curuntime/struct.CopperContext.html b/cu29/prelude/curuntime/struct.CopperContext.html index 21f59f152..6a0ced488 100644 --- a/cu29/prelude/curuntime/struct.CopperContext.html +++ b/cu29/prelude/curuntime/struct.CopperContext.html @@ -1,4 +1,4 @@ -CopperContext in cu29::prelude::curuntime - Rust
    cu29::prelude::curuntime

    Struct CopperContext

    Source
    pub struct CopperContext {
    +CopperContext in cu29::prelude::curuntime - Rust
    cu29::prelude::curuntime

    Struct CopperContext

    Source
    pub struct CopperContext {
         pub unified_logger: Arc<Mutex<UnifiedLoggerWrite>>,
         pub logger_runtime: LoggerRuntime,
         pub clock: RobotClock,
    diff --git a/cu29/prelude/curuntime/struct.CuExecutionLoop.html b/cu29/prelude/curuntime/struct.CuExecutionLoop.html
    index 18278b815..28322111b 100644
    --- a/cu29/prelude/curuntime/struct.CuExecutionLoop.html
    +++ b/cu29/prelude/curuntime/struct.CuExecutionLoop.html
    @@ -1,4 +1,4 @@
    -CuExecutionLoop in cu29::prelude::curuntime - Rust
    cu29::prelude::curuntime

    Struct CuExecutionLoop

    Source
    pub struct CuExecutionLoop {
    +CuExecutionLoop in cu29::prelude::curuntime - Rust
    cu29::prelude::curuntime

    Struct CuExecutionLoop

    Source
    pub struct CuExecutionLoop {
         pub steps: Vec<CuExecutionUnit>,
         pub loop_count: Option<u32>,
     }
    Expand description

    This structure represents a loop in the execution plan. diff --git a/cu29/prelude/curuntime/struct.CuExecutionStep.html b/cu29/prelude/curuntime/struct.CuExecutionStep.html index 4078fceb0..146c2d580 100644 --- a/cu29/prelude/curuntime/struct.CuExecutionStep.html +++ b/cu29/prelude/curuntime/struct.CuExecutionStep.html @@ -1,4 +1,4 @@ -CuExecutionStep in cu29::prelude::curuntime - Rust

    cu29::prelude::curuntime

    Struct CuExecutionStep

    Source
    pub struct CuExecutionStep {
    +CuExecutionStep in cu29::prelude::curuntime - Rust
    cu29::prelude::curuntime

    Struct CuExecutionStep

    Source
    pub struct CuExecutionStep {
         pub node_id: u32,
         pub node: Node,
         pub task_type: CuTaskType,
    diff --git a/cu29/prelude/curuntime/struct.CuRuntime.html b/cu29/prelude/curuntime/struct.CuRuntime.html
    index 9e6ccd7aa..1e7b9398a 100644
    --- a/cu29/prelude/curuntime/struct.CuRuntime.html
    +++ b/cu29/prelude/curuntime/struct.CuRuntime.html
    @@ -1,4 +1,4 @@
    -CuRuntime in cu29::prelude::curuntime - Rust
    cu29::prelude::curuntime

    Struct CuRuntime

    Source
    pub struct CuRuntime<CT, P, M, const NBCL: usize>
    where +CuRuntime in cu29::prelude::curuntime - Rust
    cu29::prelude::curuntime

    Struct CuRuntime

    Source
    pub struct CuRuntime<CT, P, M, const NBCL: usize>{
         pub tasks: CT,
    diff --git a/cu29/prelude/cutask/index.html b/cu29/prelude/cutask/index.html
    index 81b23f6ff..868c07d44 100644
    --- a/cu29/prelude/cutask/index.html
    +++ b/cu29/prelude/cutask/index.html
    @@ -1,4 +1,4 @@
    -cu29::prelude::cutask - Rust
    cu29::prelude

    Module cutask

    Source
    Expand description

    This module contains all the main definition of the traits you need to implement +cu29::prelude::cutask - Rust

    cu29::prelude

    Module cutask

    Source
    Expand description

    This module contains all the main definition of the traits you need to implement or interact with to create a Copper task.

    Structs§

    CuCompactString
    CuMsg
    CuMsg is the envelope holding the msg payload and the metadata between tasks.
    CuMsgMetadata
    CuMsgMetadata is a structure that contains metadata common to all CuMsgs.

    Traits§

    CuMsgPack
    CuMsgPayload
    CuSinkTask
    A Sink Task is a task that only consumes messages. For example drivers for actuators are Sink Tasks.
    CuSrcTask
    A Src Task is a task that only produces messages. For example drivers for sensors are Src Tasks. They are in push mode from the runtime. diff --git a/cu29/prelude/cutask/struct.CuCompactString.html b/cu29/prelude/cutask/struct.CuCompactString.html index bbd4c0c87..31ba76c41 100644 --- a/cu29/prelude/cutask/struct.CuCompactString.html +++ b/cu29/prelude/cutask/struct.CuCompactString.html @@ -1,4 +1,4 @@ -CuCompactString in cu29::prelude::cutask - Rust
    cu29::prelude::cutask

    Struct CuCompactString

    Source
    pub struct CuCompactString(pub CompactString);

    Tuple Fields§

    §0: CompactString

    Trait Implementations§

    Source§

    impl<'de> BorrowDecode<'de> for CuCompactString

    Source§

    fn borrow_decode<D>(decoder: &mut D) -> Result<CuCompactString, DecodeError>
    where +CuCompactString in cu29::prelude::cutask - Rust
    cu29::prelude::cutask

    Struct CuCompactString

    Source
    pub struct CuCompactString(pub CompactString);

    Tuple Fields§

    §0: CompactString

    Trait Implementations§

    Source§

    impl<'de> BorrowDecode<'de> for CuCompactString

    Source§

    fn borrow_decode<D>(decoder: &mut D) -> Result<CuCompactString, DecodeError>
    where D: BorrowDecoder<'de>,

    Attempt to decode this type with the given BorrowDecode.
    Source§

    impl Clone for CuCompactString

    Source§

    fn clone(&self) -> CuCompactString

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for CuCompactString

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl Decode for CuCompactString

    Source§

    fn decode<D>(decoder: &mut D) -> Result<CuCompactString, DecodeError>
    where D: Decoder,

    Attempt to decode this type with the given Decode.
    Source§

    impl Default for CuCompactString

    Source§

    fn default() -> CuCompactString

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for CuCompactString

    Source§

    fn deserialize<__D>( __deserializer: __D, @@ -26,7 +26,7 @@

    Source§

    impl<T> ToOwned for T
    where T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    Source§

    impl<T> CopperListTuple for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> CopperListTuple for T
    where T: Encode + Decode + Debug,

    Source§

    impl<T> CuMsgPayload for T
    where T: Default + Debug + Clone + Encode + Decode,

    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where diff --git a/cu29/prelude/cutask/struct.CuMsg.html b/cu29/prelude/cutask/struct.CuMsg.html index c69ea5136..a6dbc747d 100644 --- a/cu29/prelude/cutask/struct.CuMsg.html +++ b/cu29/prelude/cutask/struct.CuMsg.html @@ -1,4 +1,4 @@ -CuMsg in cu29::prelude::cutask - Rust
    cu29::prelude::cutask

    Struct CuMsg

    Source
    pub struct CuMsg<T>
    where +CuMsg in cu29::prelude::cutask - Rust
    cu29::prelude::cutask

    Struct CuMsg

    Source
    pub struct CuMsg<T>
    where T: CuMsgPayload,
    { pub metadata: CuMsgMetadata, /* private fields */ @@ -34,7 +34,7 @@

    Source§

    impl<T> ToOwned for T
    where T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    Source§

    impl<T> CopperListTuple for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> CopperListTuple for T
    where T: Encode + Decode + Debug,

    Source§

    impl<T> CuMsgPayload for T
    where T: Default + Debug + Clone + Encode + Decode,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/cu29/prelude/cutask/struct.CuMsgMetadata.html b/cu29/prelude/cutask/struct.CuMsgMetadata.html index c137c3d62..3f2704b36 100644 --- a/cu29/prelude/cutask/struct.CuMsgMetadata.html +++ b/cu29/prelude/cutask/struct.CuMsgMetadata.html @@ -1,4 +1,4 @@ -CuMsgMetadata in cu29::prelude::cutask - Rust
    cu29::prelude::cutask

    Struct CuMsgMetadata

    Source
    pub struct CuMsgMetadata {
    +CuMsgMetadata in cu29::prelude::cutask - Rust
    cu29::prelude::cutask

    Struct CuMsgMetadata

    Source
    pub struct CuMsgMetadata {
         pub process_time: PartialCuTimeRange,
         pub tov: Tov,
         pub status_txt: CuCompactString,
    @@ -33,7 +33,7 @@
         T: Clone,
    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    Source§

    fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    Source§

    impl<T> CopperListTuple for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> CopperListTuple for T
    where T: Encode + Decode + Debug,

    Source§

    impl<T> CuMsgPayload for T
    where T: Default + Debug + Clone + Encode + Decode,

    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where diff --git a/cu29/prelude/cutask/trait.CuMsgPack.html b/cu29/prelude/cutask/trait.CuMsgPack.html index ada846451..f9c3dd3e6 100644 --- a/cu29/prelude/cutask/trait.CuMsgPack.html +++ b/cu29/prelude/cutask/trait.CuMsgPack.html @@ -1,4 +1,4 @@ -CuMsgPack in cu29::prelude::cutask - Rust
    cu29::prelude::cutask

    Trait CuMsgPack

    Source
    pub trait CuMsgPack<'cl> { }

    Implementations on Foreign Types§

    Source§

    impl CuMsgPack<'_> for ()

    Source§

    impl<'cl, T1, T2> CuMsgPack<'cl> for (&'cl CuMsg<T1>, &'cl CuMsg<T2>)
    where +CuMsgPack in cu29::prelude::cutask - Rust
    cu29::prelude::cutask

    Trait CuMsgPack

    Source
    pub trait CuMsgPack<'cl> { }

    Implementations on Foreign Types§

    Source§

    impl CuMsgPack<'_> for ()

    Source§

    impl<'cl, T1, T2> CuMsgPack<'cl> for (&'cl CuMsg<T1>, &'cl CuMsg<T2>)
    where T1: CuMsgPayload + 'cl, T2: CuMsgPayload + 'cl,

    Source§

    impl<'cl, T1, T2, T3> CuMsgPack<'cl> for (&'cl CuMsg<T1>, &'cl CuMsg<T2>, &'cl CuMsg<T3>)
    where T1: CuMsgPayload + 'cl, diff --git a/cu29/prelude/cutask/trait.CuMsgPayload.html b/cu29/prelude/cutask/trait.CuMsgPayload.html index d4cbaf141..c2ac91960 100644 --- a/cu29/prelude/cutask/trait.CuMsgPayload.html +++ b/cu29/prelude/cutask/trait.CuMsgPayload.html @@ -1,4 +1,4 @@ -CuMsgPayload in cu29::prelude::cutask - Rust
    cu29::prelude::cutask

    Trait CuMsgPayload

    Source
    pub trait CuMsgPayload:
    +CuMsgPayload in cu29::prelude::cutask - Rust
    cu29::prelude::cutask

    Trait CuMsgPayload

    Source
    pub trait CuMsgPayload:
         Sized
         + Default
         + Debug
    diff --git a/cu29/prelude/cutask/trait.CuSinkTask.html b/cu29/prelude/cutask/trait.CuSinkTask.html
    index 5b6bb83f6..f2fceaffe 100644
    --- a/cu29/prelude/cutask/trait.CuSinkTask.html
    +++ b/cu29/prelude/cutask/trait.CuSinkTask.html
    @@ -1,4 +1,4 @@
    -CuSinkTask in cu29::prelude::cutask - Rust
    cu29::prelude::cutask

    Trait CuSinkTask

    Source
    pub trait CuSinkTask<'cl>: Freezable {
    +CuSinkTask in cu29::prelude::cutask - Rust
    cu29::prelude::cutask

    Trait CuSinkTask

    Source
    pub trait CuSinkTask<'cl>: Freezable {
         type Input: CuMsgPack<'cl>;
     
         // Required methods
    diff --git a/cu29/prelude/cutask/trait.CuSrcTask.html b/cu29/prelude/cutask/trait.CuSrcTask.html
    index 7cbf0679a..aa14bd9cb 100644
    --- a/cu29/prelude/cutask/trait.CuSrcTask.html
    +++ b/cu29/prelude/cutask/trait.CuSrcTask.html
    @@ -1,4 +1,4 @@
    -CuSrcTask in cu29::prelude::cutask - Rust
    cu29::prelude::cutask

    Trait CuSrcTask

    Source
    pub trait CuSrcTask<'cl>: Freezable {
    +CuSrcTask in cu29::prelude::cutask - Rust
    cu29::prelude::cutask

    Trait CuSrcTask

    Source
    pub trait CuSrcTask<'cl>: Freezable {
         type Output: CuMsgPack<'cl>;
     
         // Required methods
    diff --git a/cu29/prelude/cutask/trait.CuTask.html b/cu29/prelude/cutask/trait.CuTask.html
    index 8fbfb470f..adc13f93e 100644
    --- a/cu29/prelude/cutask/trait.CuTask.html
    +++ b/cu29/prelude/cutask/trait.CuTask.html
    @@ -1,4 +1,4 @@
    -CuTask in cu29::prelude::cutask - Rust
    cu29::prelude::cutask

    Trait CuTask

    Source
    pub trait CuTask<'cl>: Freezable {
    +CuTask in cu29::prelude::cutask - Rust
    cu29::prelude::cutask

    Trait CuTask

    Source
    pub trait CuTask<'cl>: Freezable {
         type Input: CuMsgPack<'cl>;
         type Output: CuMsgPack<'cl>;
     
    diff --git a/cu29/prelude/cutask/trait.Freezable.html b/cu29/prelude/cutask/trait.Freezable.html
    index 00043c731..1a7e4cee6 100644
    --- a/cu29/prelude/cutask/trait.Freezable.html
    +++ b/cu29/prelude/cutask/trait.Freezable.html
    @@ -1,4 +1,4 @@
    -Freezable in cu29::prelude::cutask - Rust
    cu29::prelude::cutask

    Trait Freezable

    Source
    pub trait Freezable {
    +Freezable in cu29::prelude::cutask - Rust
    cu29::prelude::cutask

    Trait Freezable

    Source
    pub trait Freezable {
         // Provided methods
         fn freeze<E>(&self, encoder: &mut E) -> Result<(), EncodeError>
            where E: Encoder { ... }
    diff --git a/cu29/prelude/enum.AllocatedSection.html b/cu29/prelude/enum.AllocatedSection.html
    index 26c9f60f6..139613782 100644
    --- a/cu29/prelude/enum.AllocatedSection.html
    +++ b/cu29/prelude/enum.AllocatedSection.html
    @@ -1,4 +1,4 @@
    -AllocatedSection in cu29::prelude - Rust
    cu29::prelude

    Enum AllocatedSection

    Source
    pub enum AllocatedSection {
    +AllocatedSection in cu29::prelude - Rust
    cu29::prelude

    Enum AllocatedSection

    Source
    pub enum AllocatedSection {
         NoMoreSpace,
         Section(SectionHandle),
     }

    Variants§

    §

    NoMoreSpace

    §

    Section(SectionHandle)

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where diff --git a/cu29/prelude/enum.CopperListState.html b/cu29/prelude/enum.CopperListState.html index adf2c50fd..f69e0c784 100644 --- a/cu29/prelude/enum.CopperListState.html +++ b/cu29/prelude/enum.CopperListState.html @@ -1,4 +1,4 @@ -CopperListState in cu29::prelude - Rust
    cu29::prelude

    Enum CopperListState

    Source
    pub enum CopperListState {
    +CopperListState in cu29::prelude - Rust
    cu29::prelude

    Enum CopperListState

    Source
    pub enum CopperListState {
         Free,
         Initialized,
         Processing,
    @@ -28,6 +28,6 @@
         T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    Source§

    fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    Source§

    impl<T> CopperListTuple for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> CopperListTuple for T
    where T: Encode + Decode + Debug,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/cu29/prelude/enum.CuExecutionUnit.html b/cu29/prelude/enum.CuExecutionUnit.html index 7250e5917..688507bdc 100644 --- a/cu29/prelude/enum.CuExecutionUnit.html +++ b/cu29/prelude/enum.CuExecutionUnit.html @@ -1,4 +1,4 @@ -CuExecutionUnit in cu29::prelude - Rust
    cu29::prelude

    Enum CuExecutionUnit

    Source
    pub enum CuExecutionUnit {
    +CuExecutionUnit in cu29::prelude - Rust
    cu29::prelude

    Enum CuExecutionUnit

    Source
    pub enum CuExecutionUnit {
         Step(CuExecutionStep),
         Loop(CuExecutionLoop),
     }
    Expand description

    This structure represents a step in the execution plan.

    diff --git a/cu29/prelude/enum.CuHandleInner.html b/cu29/prelude/enum.CuHandleInner.html index 7a627dc35..3fc78c406 100644 --- a/cu29/prelude/enum.CuHandleInner.html +++ b/cu29/prelude/enum.CuHandleInner.html @@ -1,4 +1,4 @@ -CuHandleInner in cu29::prelude - Rust
    cu29::prelude

    Enum CuHandleInner

    Source
    pub enum CuHandleInner<T>
    where +CuHandleInner in cu29::prelude - Rust
    cu29::prelude

    Enum CuHandleInner

    Source
    pub enum CuHandleInner<T>
    where T: Debug,
    { Pooled(ReusableOwned<T>), Detached(T), @@ -2666,12 +2666,12 @@
    §Examples<
    §Examples
    assert_eq!(["hello", "world"].connect(" "), "hello world");
     assert_eq!([[1, 2], [3, 4]].connect(&0), [1, 2, 0, 3, 4]);
    -
    1.23.0 · Source

    pub fn to_ascii_uppercase(&self) -> Vec<u8>

    Returns a vector containing a copy of this slice where each byte +

    1.23.0 · Source

    pub fn to_ascii_uppercase(&self) -> Vec<u8>

    Returns a vector containing a copy of this slice where each byte is mapped to its ASCII upper case equivalent.

    ASCII letters ‘a’ to ‘z’ are mapped to ‘A’ to ‘Z’, but non-ASCII letters are unchanged.

    To uppercase the value in-place, use make_ascii_uppercase.

    -
    1.23.0 · Source

    pub fn to_ascii_lowercase(&self) -> Vec<u8>

    Returns a vector containing a copy of this slice where each byte +

    1.23.0 · Source

    pub fn to_ascii_lowercase(&self) -> Vec<u8>

    Returns a vector containing a copy of this slice where each byte is mapped to its ASCII lower case equivalent.

    ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, but non-ASCII letters are unchanged.

    @@ -2696,4 +2696,4 @@
    §Examples< T: ?Sized,

    Source§

    type Target = T

    🔬This is a nightly-only experimental API. (arbitrary_self_types)
    The target type on which the method may be called.
    Source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> ErasedDestructor for T
    where - T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file + T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/cu29/prelude/enum.CuTaskCallbackState.html b/cu29/prelude/enum.CuTaskCallbackState.html index 59cdebc00..f962f975c 100644 --- a/cu29/prelude/enum.CuTaskCallbackState.html +++ b/cu29/prelude/enum.CuTaskCallbackState.html @@ -1,4 +1,4 @@ -CuTaskCallbackState in cu29::prelude - Rust
    cu29::prelude

    Enum CuTaskCallbackState

    Source
    pub enum CuTaskCallbackState<'cl, I, O>
    where +CuTaskCallbackState in cu29::prelude - Rust
    cu29::prelude

    Enum CuTaskCallbackState

    Source
    pub enum CuTaskCallbackState<'cl, I, O>
    where I: CuMsgPack<'cl>, O: CuMsgPack<'cl>,
    { New(Option<ComponentConfig>), diff --git a/cu29/prelude/enum.CuTaskState.html b/cu29/prelude/enum.CuTaskState.html index 9263821a3..1587dad3f 100644 --- a/cu29/prelude/enum.CuTaskState.html +++ b/cu29/prelude/enum.CuTaskState.html @@ -1,4 +1,4 @@ -CuTaskState in cu29::prelude - Rust
    cu29::prelude

    Enum CuTaskState

    Source
    pub enum CuTaskState {
    +CuTaskState in cu29::prelude - Rust
    cu29::prelude

    Enum CuTaskState

    Source
    pub enum CuTaskState {
         Start,
         Preprocess,
         Process,
    diff --git a/cu29/prelude/enum.CuTaskType.html b/cu29/prelude/enum.CuTaskType.html
    index 4f3ff082a..3f18eba16 100644
    --- a/cu29/prelude/enum.CuTaskType.html
    +++ b/cu29/prelude/enum.CuTaskType.html
    @@ -1,4 +1,4 @@
    -CuTaskType in cu29::prelude - Rust
    cu29::prelude

    Enum CuTaskType

    Source
    pub enum CuTaskType {
    +CuTaskType in cu29::prelude - Rust
    cu29::prelude

    Enum CuTaskType

    Source
    pub enum CuTaskType {
         Source,
         Regular,
         Sink,
    diff --git a/cu29/prelude/enum.Decision.html b/cu29/prelude/enum.Decision.html
    index aad1efa8f..6447ae84a 100644
    --- a/cu29/prelude/enum.Decision.html
    +++ b/cu29/prelude/enum.Decision.html
    @@ -1,4 +1,4 @@
    -Decision in cu29::prelude - Rust
    cu29::prelude

    Enum Decision

    Source
    pub enum Decision {
    +Decision in cu29::prelude - Rust
    cu29::prelude

    Enum Decision

    Source
    pub enum Decision {
         Abort,
         Ignore,
         Shutdown,
    diff --git a/cu29/prelude/enum.SimOverride.html b/cu29/prelude/enum.SimOverride.html
    index 6d838d591..3e747d16c 100644
    --- a/cu29/prelude/enum.SimOverride.html
    +++ b/cu29/prelude/enum.SimOverride.html
    @@ -1,4 +1,4 @@
    -SimOverride in cu29::prelude - Rust
    cu29::prelude

    Enum SimOverride

    Source
    pub enum SimOverride {
    +SimOverride in cu29::prelude - Rust
    cu29::prelude

    Enum SimOverride

    Source
    pub enum SimOverride {
         ExecutedBySim,
         ExecuteByRuntime,
         Errored(String),
    diff --git a/cu29/prelude/enum.Tov.html b/cu29/prelude/enum.Tov.html
    index 15d08dca1..9e8f4645d 100644
    --- a/cu29/prelude/enum.Tov.html
    +++ b/cu29/prelude/enum.Tov.html
    @@ -1,21 +1,21 @@
    -Tov in cu29::prelude - Rust
    cu29::prelude

    Enum Tov

    Source
    pub enum Tov {
    +Tov in cu29::prelude - Rust
    cu29::prelude

    Enum Tov

    pub enum Tov {
         None,
         Time(CuDuration),
         Range(CuTimeRange),
     }
    Expand description

    The time of validity of a message can be more than one time but can be a time range of Tovs. For example a sub scan for a lidar, a set of images etc… can have a range of validity.

    -

    Variants§

    Trait Implementations§

    Source§

    impl<'__de> BorrowDecode<'__de> for Tov

    Source§

    fn borrow_decode<__D>(decoder: &mut __D) -> Result<Tov, DecodeError>
    where - __D: BorrowDecoder<'__de>,

    Attempt to decode this type with the given BorrowDecode.
    Source§

    impl Clone for Tov

    Source§

    fn clone(&self) -> Tov

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Tov

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl Decode for Tov

    Source§

    fn decode<__D>(decoder: &mut __D) -> Result<Tov, DecodeError>
    where - __D: Decoder,

    Attempt to decode this type with the given Decode.
    Source§

    impl Default for Tov

    Source§

    fn default() -> Tov

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for Tov

    Variants§

    Trait Implementations§

    §

    impl<'__de> BorrowDecode<'__de> for Tov

    §

    fn borrow_decode<__D>(decoder: &mut __D) -> Result<Tov, DecodeError>
    where + __D: BorrowDecoder<'__de>,

    Attempt to decode this type with the given BorrowDecode.
    §

    impl Clone for Tov

    §

    fn clone(&self) -> Tov

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Tov

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Decode for Tov

    §

    fn decode<__D>(decoder: &mut __D) -> Result<Tov, DecodeError>
    where + __D: Decoder,

    Attempt to decode this type with the given Decode.
    §

    impl Default for Tov

    §

    fn default() -> Tov

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for Tov

    §

    fn deserialize<__D>( __deserializer: __D, ) -> Result<Tov, <__D as Deserializer<'de>>::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Encode for Tov

    Source§

    fn encode<__E>(&self, encoder: &mut __E) -> Result<(), EncodeError>
    where - __E: Encoder,

    Encode a given type.
    Source§

    impl From<CuDuration> for Tov

    Source§

    fn from(duration: CuDuration) -> Tov

    Converts to this type from the input type.
    Source§

    impl From<Option<CuDuration>> for Tov

    Source§

    fn from(duration: Option<CuDuration>) -> Tov

    Converts to this type from the input type.
    Source§

    impl PartialEq for Tov

    Source§

    fn eq(&self, other: &Tov) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    Source§

    impl Serialize for Tov

    Source§

    fn serialize<__S>( + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Encode for Tov

    §

    fn encode<__E>(&self, encoder: &mut __E) -> Result<(), EncodeError>
    where + __E: Encoder,

    Encode a given type.
    §

    impl From<CuDuration> for Tov

    §

    fn from(duration: CuDuration) -> Tov

    Converts to this type from the input type.
    §

    impl From<Option<CuDuration>> for Tov

    §

    fn from(duration: Option<CuDuration>) -> Tov

    Converts to this type from the input type.
    §

    impl PartialEq for Tov

    §

    fn eq(&self, other: &Tov) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    §

    impl Serialize for Tov

    §

    fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    Source§

    impl StructuralPartialEq for Tov

    Auto Trait Implementations§

    §

    impl Freeze for Tov

    §

    impl RefUnwindSafe for Tov

    §

    impl Send for Tov

    §

    impl Sync for Tov

    §

    impl Unpin for Tov

    §

    impl UnwindSafe for Tov

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for Tov

    Auto Trait Implementations§

    §

    impl Freeze for Tov

    §

    impl RefUnwindSafe for Tov

    §

    impl Send for Tov

    §

    impl Sync for Tov

    §

    impl Unpin for Tov

    §

    impl UnwindSafe for Tov

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where @@ -28,7 +28,7 @@

    Source§

    impl<T> ToOwned for T
    where T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    Source§

    impl<T> CopperListTuple for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> CopperListTuple for T
    where T: Encode + Decode + Debug,

    Source§

    impl<T> CuMsgPayload for T
    where T: Default + Debug + Clone + Encode + Decode,

    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where diff --git a/cu29/prelude/enum.UnifiedLogType.html b/cu29/prelude/enum.UnifiedLogType.html index 7ac60ae56..df09796e1 100644 --- a/cu29/prelude/enum.UnifiedLogType.html +++ b/cu29/prelude/enum.UnifiedLogType.html @@ -1,14 +1,14 @@ -UnifiedLogType in cu29::prelude - Rust
    cu29::prelude

    Enum UnifiedLogType

    Source
    pub enum UnifiedLogType {
    +UnifiedLogType in cu29::prelude - Rust
    cu29::prelude

    Enum UnifiedLogType

    pub enum UnifiedLogType {
         Empty,
         StructuredLogLine,
         CopperList,
         LastEntry,
     }
    Expand description

    Defines the types of what can be logged in the unified logger.

    -

    Variants§

    §

    Empty

    §

    StructuredLogLine

    §

    CopperList

    §

    LastEntry

    Trait Implementations§

    Source§

    impl<'__de> BorrowDecode<'__de> for UnifiedLogType

    Source§

    fn borrow_decode<__D>(decoder: &mut __D) -> Result<UnifiedLogType, DecodeError>
    where - __D: BorrowDecoder<'__de>,

    Attempt to decode this type with the given BorrowDecode.
    Source§

    impl Clone for UnifiedLogType

    Source§

    fn clone(&self) -> UnifiedLogType

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for UnifiedLogType

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl Decode for UnifiedLogType

    Source§

    fn decode<__D>(decoder: &mut __D) -> Result<UnifiedLogType, DecodeError>
    where - __D: Decoder,

    Attempt to decode this type with the given Decode.
    Source§

    impl Encode for UnifiedLogType

    Source§

    fn encode<__E>(&self, encoder: &mut __E) -> Result<(), EncodeError>
    where - __E: Encoder,

    Encode a given type.
    Source§

    impl PartialEq for UnifiedLogType

    Source§

    fn eq(&self, other: &UnifiedLogType) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    Source§

    impl Copy for UnifiedLogType

    Source§

    impl StructuralPartialEq for UnifiedLogType

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

    Variants§

    §

    Empty

    §

    StructuredLogLine

    §

    CopperList

    §

    LastEntry

    Trait Implementations§

    §

    impl<'__de> BorrowDecode<'__de> for UnifiedLogType

    §

    fn borrow_decode<__D>(decoder: &mut __D) -> Result<UnifiedLogType, DecodeError>
    where + __D: BorrowDecoder<'__de>,

    Attempt to decode this type with the given BorrowDecode.
    §

    impl Clone for UnifiedLogType

    §

    fn clone(&self) -> UnifiedLogType

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for UnifiedLogType

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Decode for UnifiedLogType

    §

    fn decode<__D>(decoder: &mut __D) -> Result<UnifiedLogType, DecodeError>
    where + __D: Decoder,

    Attempt to decode this type with the given Decode.
    §

    impl Encode for UnifiedLogType

    §

    fn encode<__E>(&self, encoder: &mut __E) -> Result<(), EncodeError>
    where + __E: Encoder,

    Encode a given type.
    §

    impl PartialEq for UnifiedLogType

    §

    fn eq(&self, other: &UnifiedLogType) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    §

    impl Copy for UnifiedLogType

    §

    impl StructuralPartialEq for UnifiedLogType

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where @@ -20,6 +20,6 @@

    Source§

    impl<T> ToOwned for T
    where T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    Source§

    impl<T> CopperListTuple for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> CopperListTuple for T
    where T: Encode + Decode + Debug,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/cu29/prelude/enum.UnifiedLogger.html b/cu29/prelude/enum.UnifiedLogger.html index 06ade785d..6f442261b 100644 --- a/cu29/prelude/enum.UnifiedLogger.html +++ b/cu29/prelude/enum.UnifiedLogger.html @@ -1,4 +1,4 @@ -UnifiedLogger in cu29::prelude - Rust
    cu29::prelude

    Enum UnifiedLogger

    Source
    pub enum UnifiedLogger {
    +UnifiedLogger in cu29::prelude - Rust
    cu29::prelude

    Enum UnifiedLogger

    Source
    pub enum UnifiedLogger {
         Read(UnifiedLoggerRead),
         Write(UnifiedLoggerWrite),
     }
    Expand description

    Holder of the read or write side of the datalogger.

    diff --git a/cu29/prelude/enum.Value.html b/cu29/prelude/enum.Value.html index f8776e5fb..4f35cec76 100644 --- a/cu29/prelude/enum.Value.html +++ b/cu29/prelude/enum.Value.html @@ -1,4 +1,4 @@ -Value in cu29::prelude - Rust
    cu29::prelude

    Enum Value

    Source
    pub enum Value {
    +Value in cu29::prelude - Rust
    cu29::prelude

    Enum Value

    Source
    pub enum Value {
     
    Show 20 variants Bool(bool), U8(u8), U16(u16), @@ -211,7 +211,7 @@ T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    Source§

    fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    Source§

    impl<T> CopperListTuple for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> CopperListTuple for T
    where T: Encode + Decode + Debug,

    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/cu29/prelude/fn.compute_runtime_plan.html b/cu29/prelude/fn.compute_runtime_plan.html index 8801b6958..7ac1ba3d1 100644 --- a/cu29/prelude/fn.compute_runtime_plan.html +++ b/cu29/prelude/fn.compute_runtime_plan.html @@ -1,4 +1,4 @@ -compute_runtime_plan in cu29::prelude - Rust
    cu29::prelude

    Function compute_runtime_plan

    Source
    pub fn compute_runtime_plan(
    +compute_runtime_plan in cu29::prelude - Rust
    cu29::prelude

    Function compute_runtime_plan

    Source
    pub fn compute_runtime_plan(
         config: &CuConfig,
     ) -> Result<CuExecutionLoop, CuError>
    Expand description

    This is the main heuristics to compute an execution plan at compilation time. TODO: Make that heuristic pluggable.

    diff --git a/cu29/prelude/fn.default_log_index_dir.html b/cu29/prelude/fn.default_log_index_dir.html index f3aeed305..50ba7e57b 100644 --- a/cu29/prelude/fn.default_log_index_dir.html +++ b/cu29/prelude/fn.default_log_index_dir.html @@ -1,2 +1,2 @@ -default_log_index_dir in cu29::prelude - Rust
    cu29::prelude

    Function default_log_index_dir

    Source
    pub fn default_log_index_dir() -> PathBuf
    Expand description

    Convenience function to returns the default path for the log index directory.

    +default_log_index_dir in cu29::prelude - Rust
    cu29::prelude

    Function default_log_index_dir

    pub fn default_log_index_dir() -> PathBuf
    Expand description

    Convenience function to returns the default path for the log index directory.

    \ No newline at end of file diff --git a/cu29/prelude/fn.find_task_type_for_id.html b/cu29/prelude/fn.find_task_type_for_id.html index e95d8308f..9dbc00d40 100644 --- a/cu29/prelude/fn.find_task_type_for_id.html +++ b/cu29/prelude/fn.find_task_type_for_id.html @@ -1,4 +1,4 @@ -find_task_type_for_id in cu29::prelude - Rust
    cu29::prelude

    Function find_task_type_for_id

    Source
    pub fn find_task_type_for_id(
    +find_task_type_for_id in cu29::prelude - Rust
    cu29::prelude

    Function find_task_type_for_id

    Source
    pub fn find_task_type_for_id(
         graph: &StableGraph<Node, Cnx>,
         node_id: u32,
     ) -> CuTaskType
    \ No newline at end of file diff --git a/cu29/prelude/fn.format_logline.html b/cu29/prelude/fn.format_logline.html index 6fdef7c6f..090abfac9 100644 --- a/cu29/prelude/fn.format_logline.html +++ b/cu29/prelude/fn.format_logline.html @@ -1,4 +1,4 @@ -format_logline in cu29::prelude - Rust
    cu29::prelude

    Function format_logline

    Source
    pub fn format_logline(
    +format_logline in cu29::prelude - Rust
    cu29::prelude

    Function format_logline

    pub fn format_logline(
         time: CuDuration,
         format_str: &str,
         params: &[String],
    diff --git a/cu29/prelude/fn.log.html b/cu29/prelude/fn.log.html
    index 7635290c7..d115bff85 100644
    --- a/cu29/prelude/fn.log.html
    +++ b/cu29/prelude/fn.log.html
    @@ -1,3 +1,3 @@
    -log in cu29::prelude - Rust
    cu29::prelude

    Function log

    Source
    pub fn log(entry: &mut CuLogEntry) -> Result<(), CuError>
    Expand description

    Function called from generated code to log data. +log in cu29::prelude - Rust

    cu29::prelude

    Function log

    pub fn log(entry: &mut CuLogEntry) -> Result<(), CuError>
    Expand description

    Function called from generated code to log data. It moves entry by design, it will be absorbed in the queue.

    \ No newline at end of file diff --git a/cu29/prelude/fn.log_debug_mode.html b/cu29/prelude/fn.log_debug_mode.html index ee9d8accf..5b80f6d73 100644 --- a/cu29/prelude/fn.log_debug_mode.html +++ b/cu29/prelude/fn.log_debug_mode.html @@ -1,4 +1,4 @@ -log_debug_mode in cu29::prelude - Rust
    cu29::prelude

    Function log_debug_mode

    Source
    pub fn log_debug_mode(
    +log_debug_mode in cu29::prelude - Rust
    cu29::prelude

    Function log_debug_mode

    pub fn log_debug_mode(
         entry: &mut CuLogEntry,
         format_str: &str,
         param_names: &[&str],
    diff --git a/cu29/prelude/fn.pools_statistics.html b/cu29/prelude/fn.pools_statistics.html
    index f8f5a8de7..dbe2df7a2 100644
    --- a/cu29/prelude/fn.pools_statistics.html
    +++ b/cu29/prelude/fn.pools_statistics.html
    @@ -1,3 +1,3 @@
    -pools_statistics in cu29::prelude - Rust
    cu29::prelude

    Function pools_statistics

    Source
    pub fn pools_statistics() -> SmallVec<[(ArrayString<64>, usize, usize, usize); 16]>
    Expand description

    Get the list of pools and their statistics. +pools_statistics in cu29::prelude - Rust

    cu29::prelude

    Function pools_statistics

    Source
    pub fn pools_statistics() -> SmallVec<[(ArrayString<64>, usize, usize, usize); 16]>
    Expand description

    Get the list of pools and their statistics. We use SmallVec here to avoid heap allocations while the stack is running.

    \ No newline at end of file diff --git a/cu29/prelude/fn.read_configuration.html b/cu29/prelude/fn.read_configuration.html index f017a4f19..23e8c04c9 100644 --- a/cu29/prelude/fn.read_configuration.html +++ b/cu29/prelude/fn.read_configuration.html @@ -1,2 +1,2 @@ -read_configuration in cu29::prelude - Rust
    cu29::prelude

    Function read_configuration

    Source
    pub fn read_configuration(config_filename: &str) -> Result<CuConfig, CuError>
    Expand description

    Read a copper configuration from a file.

    +read_configuration in cu29::prelude - Rust
    cu29::prelude

    Function read_configuration

    Source
    pub fn read_configuration(config_filename: &str) -> Result<CuConfig, CuError>
    Expand description

    Read a copper configuration from a file.

    \ No newline at end of file diff --git a/cu29/prelude/fn.read_configuration_str.html b/cu29/prelude/fn.read_configuration_str.html index b97033c75..78e7d4b7d 100644 --- a/cu29/prelude/fn.read_configuration_str.html +++ b/cu29/prelude/fn.read_configuration_str.html @@ -1,4 +1,4 @@ -read_configuration_str in cu29::prelude - Rust
    cu29::prelude

    Function read_configuration_str

    Source
    pub fn read_configuration_str(
    +read_configuration_str in cu29::prelude - Rust
    cu29::prelude

    Function read_configuration_str

    Source
    pub fn read_configuration_str(
         config_content: String,
     ) -> Result<CuConfig, CuError>
    Expand description

    Read a copper configuration from a String.

    \ No newline at end of file diff --git a/cu29/prelude/fn.read_interned_strings.html b/cu29/prelude/fn.read_interned_strings.html index 23b4b9a5e..a86e39a0f 100644 --- a/cu29/prelude/fn.read_interned_strings.html +++ b/cu29/prelude/fn.read_interned_strings.html @@ -1,2 +1,2 @@ -read_interned_strings in cu29::prelude - Rust
    cu29::prelude

    Function read_interned_strings

    Source
    pub fn read_interned_strings(index: &Path) -> Result<Vec<String>, CuError>
    Expand description

    Rebuild the interned string index in memory.

    +read_interned_strings in cu29::prelude - Rust
    cu29::prelude

    Function read_interned_strings

    Source
    pub fn read_interned_strings(index: &Path) -> Result<Vec<String>, CuError>
    Expand description

    Rebuild the interned string index in memory.

    \ No newline at end of file diff --git a/cu29/prelude/fn.rebuild_logline.html b/cu29/prelude/fn.rebuild_logline.html index 439199b0a..002d5e0d5 100644 --- a/cu29/prelude/fn.rebuild_logline.html +++ b/cu29/prelude/fn.rebuild_logline.html @@ -1,4 +1,4 @@ -rebuild_logline in cu29::prelude - Rust
    cu29::prelude

    Function rebuild_logline

    Source
    pub fn rebuild_logline(
    +rebuild_logline in cu29::prelude - Rust
    cu29::prelude

    Function rebuild_logline

    pub fn rebuild_logline(
         all_interned_strings: &[String],
         entry: &CuLogEntry,
     ) -> Result<String, CuError>
    Expand description

    Rebuild a log line from the interned strings and the CuLogEntry. diff --git a/cu29/prelude/fn.stream_write.html b/cu29/prelude/fn.stream_write.html index 69921dbf1..d571969c2 100644 --- a/cu29/prelude/fn.stream_write.html +++ b/cu29/prelude/fn.stream_write.html @@ -1,4 +1,4 @@ -stream_write in cu29::prelude - Rust

    cu29::prelude

    Function stream_write

    Source
    pub fn stream_write<E>(
    +stream_write in cu29::prelude - Rust
    cu29::prelude

    Function stream_write

    Source
    pub fn stream_write<E>(
         logger: Arc<Mutex<UnifiedLoggerWrite>>,
         entry_type: UnifiedLogType,
         minimum_allocation_amount: usize,
    diff --git a/cu29/prelude/fn.to_value.html b/cu29/prelude/fn.to_value.html
    index 8c3a9d6ce..21d5f1952 100644
    --- a/cu29/prelude/fn.to_value.html
    +++ b/cu29/prelude/fn.to_value.html
    @@ -1,2 +1,2 @@
    -to_value in cu29::prelude - Rust
    cu29::prelude

    Function to_value

    Source
    pub fn to_value<T>(value: T) -> Result<Value, SerializerError>
    where +to_value in cu29::prelude - Rust
    cu29::prelude

    Function to_value

    Source
    pub fn to_value<T>(value: T) -> Result<Value, SerializerError>
    where T: Serialize,
    \ No newline at end of file diff --git a/cu29/prelude/index.html b/cu29/prelude/index.html index 7a946b882..1b2dd9a0c 100644 --- a/cu29/prelude/index.html +++ b/cu29/prelude/index.html @@ -1,4 +1,4 @@ -cu29::prelude - Rust
    cu29

    Module prelude

    Source

    Modules§

    config
    This module defines the configuration of the copper runtime. +cu29::prelude - Rust
    cu29

    Module prelude

    Source

    Modules§

    config
    This module defines the configuration of the copper runtime. The configuration is a directed graph where nodes are tasks and edges are connections between tasks. The configuration is serialized in the RON format. The configuration is used to generate the runtime code at compile time.
    copperlist
    CopperList is the main data structure used by Copper to communicate between tasks. diff --git a/cu29/prelude/macro.debug.html b/cu29/prelude/macro.debug.html index fc4c3592d..53d8b002f 100644 --- a/cu29/prelude/macro.debug.html +++ b/cu29/prelude/macro.debug.html @@ -1,4 +1,4 @@ -debug in cu29::prelude - Rust
    cu29::prelude

    Macro debug

    Source
    debug!() { /* proc-macro */ }
    Expand description

    This macro is used to log a message with parameters. +debug in cu29::prelude - Rust

    cu29::prelude

    Macro debug

    Source
    debug!() { /* proc-macro */ }
    Expand description

    This macro is used to log a message with parameters. The first parameter is a string literal that represents the message to be logged. Only {} is supported as a placeholder for parameters. The rest of the parameters are the values to be logged. diff --git a/cu29/prelude/macro.gen_cumsgs.html b/cu29/prelude/macro.gen_cumsgs.html index 64bc44d29..dc6228f68 100644 --- a/cu29/prelude/macro.gen_cumsgs.html +++ b/cu29/prelude/macro.gen_cumsgs.html @@ -1,4 +1,4 @@ -gen_cumsgs in cu29::prelude - Rust

    cu29::prelude

    Macro gen_cumsgs

    Source
    gen_cumsgs!() { /* proc-macro */ }
    Expand description

    Generates the CopperList content type from a config. +gen_cumsgs in cu29::prelude - Rust

    cu29::prelude

    Macro gen_cumsgs

    Source
    gen_cumsgs!() { /* proc-macro */ }
    Expand description

    Generates the CopperList content type from a config. gen_cumsgs!(“path/to/config.toml”) It will create a new type called CuMsgs you can pass to the log reader for decoding:

    \ No newline at end of file diff --git a/cu29/prelude/macro.input_msg.html b/cu29/prelude/macro.input_msg.html index e13d31564..edcdc6f67 100644 --- a/cu29/prelude/macro.input_msg.html +++ b/cu29/prelude/macro.input_msg.html @@ -1,4 +1,4 @@ -input_msg in cu29::prelude - Rust
    cu29::prelude

    Macro input_msg

    Source
    macro_rules! input_msg {
    +input_msg in cu29::prelude - Rust
    cu29::prelude

    Macro input_msg

    Source
    macro_rules! input_msg {
         ($lifetime:lifetime, $ty:ty) => { ... };
         ($lifetime:lifetime, $($ty:ty),*) => { ... };
     }
    \ No newline at end of file diff --git a/cu29/prelude/macro.output_msg.html b/cu29/prelude/macro.output_msg.html index e928f8405..ab9ae829d 100644 --- a/cu29/prelude/macro.output_msg.html +++ b/cu29/prelude/macro.output_msg.html @@ -1,3 +1,3 @@ -output_msg in cu29::prelude - Rust
    cu29::prelude

    Macro output_msg

    Source
    macro_rules! output_msg {
    +output_msg in cu29::prelude - Rust
    cu29::prelude

    Macro output_msg

    Source
    macro_rules! output_msg {
         ($lifetime:lifetime, $ty:ty) => { ... };
     }
    \ No newline at end of file diff --git a/cu29/prelude/monitoring/enum.CuTaskState.html b/cu29/prelude/monitoring/enum.CuTaskState.html index 6613e8778..8062bcf10 100644 --- a/cu29/prelude/monitoring/enum.CuTaskState.html +++ b/cu29/prelude/monitoring/enum.CuTaskState.html @@ -1,4 +1,4 @@ -CuTaskState in cu29::prelude::monitoring - Rust
    cu29::prelude::monitoring

    Enum CuTaskState

    Source
    pub enum CuTaskState {
    +CuTaskState in cu29::prelude::monitoring - Rust
    cu29::prelude::monitoring

    Enum CuTaskState

    Source
    pub enum CuTaskState {
         Start,
         Preprocess,
         Process,
    diff --git a/cu29/prelude/monitoring/enum.Decision.html b/cu29/prelude/monitoring/enum.Decision.html
    index ef56debf3..df87cdfb0 100644
    --- a/cu29/prelude/monitoring/enum.Decision.html
    +++ b/cu29/prelude/monitoring/enum.Decision.html
    @@ -1,4 +1,4 @@
    -Decision in cu29::prelude::monitoring - Rust
    cu29::prelude::monitoring

    Enum Decision

    Source
    pub enum Decision {
    +Decision in cu29::prelude::monitoring - Rust
    cu29::prelude::monitoring

    Enum Decision

    Source
    pub enum Decision {
         Abort,
         Ignore,
         Shutdown,
    diff --git a/cu29/prelude/monitoring/index.html b/cu29/prelude/monitoring/index.html
    index 229a03d8d..e32272c24 100644
    --- a/cu29/prelude/monitoring/index.html
    +++ b/cu29/prelude/monitoring/index.html
    @@ -1,4 +1,4 @@
    -cu29::prelude::monitoring - Rust
    cu29::prelude

    Module monitoring

    Source
    Expand description

    Some basic internal monitoring tooling Copper uses to monitor itself and the tasks it is running.

    +cu29::prelude::monitoring - Rust
    cu29::prelude

    Module monitoring

    Source
    Expand description

    Some basic internal monitoring tooling Copper uses to monitor itself and the tasks it is running.

    Structs§

    CountingAllocator
    A simple allocator that counts the number of bytes allocated and deallocated.
    CuDurationStatistics
    A Specialized statistics object for CuDuration. It will also keep track of the jitter between the values.
    LiveStatistics
    Accumulative stat object that can give your some real time statistics.
    NoMonitor
    A do nothing monitor if no monitor is provided. This is basically defining the default behavior of Copper in case of error.
    ScopedAllocCounter
    A simple struct that counts the number of bytes allocated and deallocated in a scope.

    Enums§

    CuTaskState
    The state of a task.
    Decision
    Monitor decision to be taken when a task errored out.

    Statics§

    GLOBAL

    Traits§

    CuMonitor
    Trait to implement a monitoring task.
    \ No newline at end of file diff --git a/cu29/prelude/monitoring/static.GLOBAL.html b/cu29/prelude/monitoring/static.GLOBAL.html index 4ce613abd..0bc854f97 100644 --- a/cu29/prelude/monitoring/static.GLOBAL.html +++ b/cu29/prelude/monitoring/static.GLOBAL.html @@ -1 +1 @@ -GLOBAL in cu29::prelude::monitoring - Rust
    cu29::prelude::monitoring

    Static GLOBAL

    Source
    pub static GLOBAL: CountingAllocator
    \ No newline at end of file +GLOBAL in cu29::prelude::monitoring - Rust
    cu29::prelude::monitoring

    Static GLOBAL

    Source
    pub static GLOBAL: CountingAllocator
    \ No newline at end of file diff --git a/cu29/prelude/monitoring/struct.CountingAllocator.html b/cu29/prelude/monitoring/struct.CountingAllocator.html index 7ba24dc7c..abc43a2c3 100644 --- a/cu29/prelude/monitoring/struct.CountingAllocator.html +++ b/cu29/prelude/monitoring/struct.CountingAllocator.html @@ -1,4 +1,4 @@ -CountingAllocator in cu29::prelude::monitoring - Rust
    cu29::prelude::monitoring

    Struct CountingAllocator

    Source
    pub struct CountingAllocator { /* private fields */ }
    Expand description

    A simple allocator that counts the number of bytes allocated and deallocated.

    +CountingAllocator in cu29::prelude::monitoring - Rust
    cu29::prelude::monitoring

    Struct CountingAllocator

    Source
    pub struct CountingAllocator { /* private fields */ }
    Expand description

    A simple allocator that counts the number of bytes allocated and deallocated.

    Implementations§

    Trait Implementations§

    Source§

    impl Default for CountingAllocator

    Source§

    fn default() -> CountingAllocator

    Returns the “default value” for a type. Read more
    Source§

    impl GlobalAlloc for CountingAllocator

    Source§

    unsafe fn alloc(&self, layout: Layout) -> *mut u8

    Allocates memory as described by the given layout. Read more
    Source§

    unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout)

    Deallocates the block of memory at the given ptr pointer with the given layout. Read more
    1.28.0 · Source§

    unsafe fn alloc_zeroed(&self, layout: Layout) -> *mut u8

    Behaves like alloc, but also ensures that the contents are set to zero before being returned. Read more
    1.28.0 · Source§

    unsafe fn realloc( &self, diff --git a/cu29/prelude/monitoring/struct.CuDurationStatistics.html b/cu29/prelude/monitoring/struct.CuDurationStatistics.html index 70773d2cb..666716d04 100644 --- a/cu29/prelude/monitoring/struct.CuDurationStatistics.html +++ b/cu29/prelude/monitoring/struct.CuDurationStatistics.html @@ -1,4 +1,4 @@ -CuDurationStatistics in cu29::prelude::monitoring - Rust
    cu29::prelude::monitoring

    Struct CuDurationStatistics

    Source
    pub struct CuDurationStatistics { /* private fields */ }
    Expand description

    A Specialized statistics object for CuDuration. +CuDurationStatistics in cu29::prelude::monitoring - Rust

    cu29::prelude::monitoring

    Struct CuDurationStatistics

    Source
    pub struct CuDurationStatistics { /* private fields */ }
    Expand description

    A Specialized statistics object for CuDuration. It will also keep track of the jitter between the values.

    Implementations§

    Source§

    impl CuDurationStatistics

    Source

    pub fn new(max: CuDuration) -> CuDurationStatistics

    Source

    pub fn min(&self) -> CuDuration

    Source

    pub fn max(&self) -> CuDuration

    Source

    pub fn mean(&self) -> CuDuration

    Source

    pub fn percentile(&self, percentile: f64) -> CuDuration

    Source

    pub fn stddev(&self) -> CuDuration

    Source

    pub fn len(&self) -> u64

    Source

    pub fn is_empty(&self) -> bool

    Source

    pub fn jitter_min(&self) -> CuDuration

    Source

    pub fn jitter_max(&self) -> CuDuration

    Source

    pub fn jitter_mean(&self) -> CuDuration

    Source

    pub fn jitter_stddev(&self) -> CuDuration

    Source

    pub fn jitter_percentile(&self, percentile: f64) -> CuDuration

    Source

    pub fn record(&mut self, value: CuDuration)

    Source

    pub fn reset(&mut self)

    Trait Implementations§

    Source§

    impl Clone for CuDurationStatistics

    Source§

    fn clone(&self) -> CuDurationStatistics

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for CuDurationStatistics

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where diff --git a/cu29/prelude/monitoring/struct.LiveStatistics.html b/cu29/prelude/monitoring/struct.LiveStatistics.html index aa072e391..feb70df67 100644 --- a/cu29/prelude/monitoring/struct.LiveStatistics.html +++ b/cu29/prelude/monitoring/struct.LiveStatistics.html @@ -1,4 +1,4 @@ -LiveStatistics in cu29::prelude::monitoring - Rust
    cu29::prelude::monitoring

    Struct LiveStatistics

    Source
    pub struct LiveStatistics { /* private fields */ }
    Expand description

    Accumulative stat object that can give your some real time statistics.

    +LiveStatistics in cu29::prelude::monitoring - Rust
    cu29::prelude::monitoring

    Struct LiveStatistics

    Source
    pub struct LiveStatistics { /* private fields */ }
    Expand description

    Accumulative stat object that can give your some real time statistics.

    Implementations§

    Source§

    impl LiveStatistics

    Source

    pub fn new_unbounded() -> LiveStatistics

    Source

    pub fn new_with_max(max: u64) -> LiveStatistics

    Source

    pub fn min(&self) -> u64

    Source

    pub fn max(&self) -> u64

    Source

    pub fn mean(&self) -> f64

    Source

    pub fn percentile(&self, percentile: f64) -> u64

    Source

    pub fn record(&mut self, value: u64)

    Adds a value to the statistics.

    Source

    pub fn len(&self) -> u64

    Source

    pub fn is_empty(&self) -> bool

    Source

    pub fn reset(&mut self)

    Trait Implementations§

    Source§

    impl Clone for LiveStatistics

    Source§

    fn clone(&self) -> LiveStatistics

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for LiveStatistics

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where diff --git a/cu29/prelude/monitoring/struct.NoMonitor.html b/cu29/prelude/monitoring/struct.NoMonitor.html index 4d06ac0fa..f97076ee4 100644 --- a/cu29/prelude/monitoring/struct.NoMonitor.html +++ b/cu29/prelude/monitoring/struct.NoMonitor.html @@ -1,4 +1,4 @@ -NoMonitor in cu29::prelude::monitoring - Rust
    cu29::prelude::monitoring

    Struct NoMonitor

    Source
    pub struct NoMonitor {}
    Expand description

    A do nothing monitor if no monitor is provided. +NoMonitor in cu29::prelude::monitoring - Rust

    cu29::prelude::monitoring

    Struct NoMonitor

    Source
    pub struct NoMonitor {}
    Expand description

    A do nothing monitor if no monitor is provided. This is basically defining the default behavior of Copper in case of error.

    Trait Implementations§

    Source§

    impl CuMonitor for NoMonitor

    Source§

    fn new( _config: &CuConfig, diff --git a/cu29/prelude/monitoring/struct.ScopedAllocCounter.html b/cu29/prelude/monitoring/struct.ScopedAllocCounter.html index 187ac1bb5..aa4458b0c 100644 --- a/cu29/prelude/monitoring/struct.ScopedAllocCounter.html +++ b/cu29/prelude/monitoring/struct.ScopedAllocCounter.html @@ -1,4 +1,4 @@ -ScopedAllocCounter in cu29::prelude::monitoring - Rust
    cu29::prelude::monitoring

    Struct ScopedAllocCounter

    Source
    pub struct ScopedAllocCounter { /* private fields */ }
    Expand description

    A simple struct that counts the number of bytes allocated and deallocated in a scope.

    +ScopedAllocCounter in cu29::prelude::monitoring - Rust
    cu29::prelude::monitoring

    Struct ScopedAllocCounter

    Source
    pub struct ScopedAllocCounter { /* private fields */ }
    Expand description

    A simple struct that counts the number of bytes allocated and deallocated in a scope.

    Implementations§

    Source§

    impl ScopedAllocCounter

    Source

    pub fn new() -> ScopedAllocCounter

    Source

    pub fn get_allocated(&self) -> usize

    Returns the total number of bytes allocated in the current scope since the creation of this ScopedAllocCounter.

    §Example
    diff --git a/cu29/prelude/monitoring/trait.CuMonitor.html b/cu29/prelude/monitoring/trait.CuMonitor.html index e9d5349ef..0f2479a20 100644 --- a/cu29/prelude/monitoring/trait.CuMonitor.html +++ b/cu29/prelude/monitoring/trait.CuMonitor.html @@ -1,4 +1,4 @@ -CuMonitor in cu29::prelude::monitoring - Rust
    cu29::prelude::monitoring

    Trait CuMonitor

    Source
    pub trait CuMonitor: Sized {
    +CuMonitor in cu29::prelude::monitoring - Rust
    cu29::prelude::monitoring

    Trait CuMonitor

    Source
    pub trait CuMonitor: Sized {
         // Required methods
         fn new(
             config: &CuConfig,
    diff --git a/cu29/prelude/payload/index.html b/cu29/prelude/payload/index.html
    index 983f058b5..ad3c277a2 100644
    --- a/cu29/prelude/payload/index.html
    +++ b/cu29/prelude/payload/index.html
    @@ -1 +1 @@
    -cu29::prelude::payload - Rust
    cu29::prelude

    Module payload

    Source

    Structs§

    CuArray
    Copper friendly wrapper for a fixed size array.
    \ No newline at end of file +cu29::prelude::payload - Rust
    cu29::prelude

    Module payload

    Source

    Structs§

    CuArray
    Copper friendly wrapper for a fixed size array.
    \ No newline at end of file diff --git a/cu29/prelude/payload/struct.CuArray.html b/cu29/prelude/payload/struct.CuArray.html index 42805f09d..293e03730 100644 --- a/cu29/prelude/payload/struct.CuArray.html +++ b/cu29/prelude/payload/struct.CuArray.html @@ -1,4 +1,4 @@ -CuArray in cu29::prelude::payload - Rust
    cu29::prelude::payload

    Struct CuArray

    Source
    pub struct CuArray<T, const N: usize> { /* private fields */ }
    Expand description

    Copper friendly wrapper for a fixed size array.

    +CuArray in cu29::prelude::payload - Rust
    cu29::prelude::payload

    Struct CuArray

    Source
    pub struct CuArray<T, const N: usize> { /* private fields */ }
    Expand description

    Copper friendly wrapper for a fixed size array.

    Implementations§

    Source§

    impl<T, const N: usize> CuArray<T, N>

    Source

    pub fn new() -> CuArray<T, N>

    Source

    pub fn fill_from_iter<I>(&mut self, iter: I)
    where I: IntoIterator<Item = T>,

    Source

    pub fn len(&self) -> usize

    Source

    pub fn is_empty(&self) -> bool

    Source

    pub fn as_slice(&self) -> &[T]

    Source

    pub fn capacity(&self) -> usize

    Trait Implementations§

    Source§

    impl<T, const N: usize> Clone for CuArray<T, N>
    where T: Clone,

    Source§

    fn clone(&self) -> CuArray<T, N>

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl<T, const N: usize> Debug for CuArray<T, N>
    where @@ -25,7 +25,7 @@

    Source§

    impl<T> ToOwned for T
    where T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    Source§

    impl<T> CopperListTuple for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> CopperListTuple for T
    where T: Encode + Decode + Debug,

    Source§

    impl<T> CuMsgPayload for T
    where T: Default + Debug + Clone + Encode + Decode,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/cu29/prelude/pool/enum.CuHandleInner.html b/cu29/prelude/pool/enum.CuHandleInner.html index a97130d55..9886b123d 100644 --- a/cu29/prelude/pool/enum.CuHandleInner.html +++ b/cu29/prelude/pool/enum.CuHandleInner.html @@ -1,4 +1,4 @@ -CuHandleInner in cu29::prelude::pool - Rust
    cu29::prelude::pool

    Enum CuHandleInner

    Source
    pub enum CuHandleInner<T>
    where +CuHandleInner in cu29::prelude::pool - Rust
    cu29::prelude::pool

    Enum CuHandleInner

    Source
    pub enum CuHandleInner<T>
    where T: Debug,
    { Pooled(ReusableOwned<T>), Detached(T), @@ -2666,12 +2666,12 @@
    §Examples<
    §Examples
    assert_eq!(["hello", "world"].connect(" "), "hello world");
     assert_eq!([[1, 2], [3, 4]].connect(&0), [1, 2, 0, 3, 4]);
    -
    1.23.0 · Source

    pub fn to_ascii_uppercase(&self) -> Vec<u8>

    Returns a vector containing a copy of this slice where each byte +

    1.23.0 · Source

    pub fn to_ascii_uppercase(&self) -> Vec<u8>

    Returns a vector containing a copy of this slice where each byte is mapped to its ASCII upper case equivalent.

    ASCII letters ‘a’ to ‘z’ are mapped to ‘A’ to ‘Z’, but non-ASCII letters are unchanged.

    To uppercase the value in-place, use make_ascii_uppercase.

    -
    1.23.0 · Source

    pub fn to_ascii_lowercase(&self) -> Vec<u8>

    Returns a vector containing a copy of this slice where each byte +

    1.23.0 · Source

    pub fn to_ascii_lowercase(&self) -> Vec<u8>

    Returns a vector containing a copy of this slice where each byte is mapped to its ASCII lower case equivalent.

    ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, but non-ASCII letters are unchanged.

    @@ -2696,4 +2696,4 @@
    §Examples< T: ?Sized,

    Source§

    type Target = T

    🔬This is a nightly-only experimental API. (arbitrary_self_types)
    The target type on which the method may be called.
    Source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> ErasedDestructor for T
    where - T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file + T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/cu29/prelude/pool/fn.pools_statistics.html b/cu29/prelude/pool/fn.pools_statistics.html index 303073a10..7f97e281d 100644 --- a/cu29/prelude/pool/fn.pools_statistics.html +++ b/cu29/prelude/pool/fn.pools_statistics.html @@ -1,3 +1,3 @@ -pools_statistics in cu29::prelude::pool - Rust
    cu29::prelude::pool

    Function pools_statistics

    Source
    pub fn pools_statistics() -> SmallVec<[(ArrayString<64>, usize, usize, usize); 16]>
    Expand description

    Get the list of pools and their statistics. +pools_statistics in cu29::prelude::pool - Rust

    cu29::prelude::pool

    Function pools_statistics

    Source
    pub fn pools_statistics() -> SmallVec<[(ArrayString<64>, usize, usize, usize); 16]>
    Expand description

    Get the list of pools and their statistics. We use SmallVec here to avoid heap allocations while the stack is running.

    \ No newline at end of file diff --git a/cu29/prelude/pool/index.html b/cu29/prelude/pool/index.html index 7fff0d622..67ff2a1b7 100644 --- a/cu29/prelude/pool/index.html +++ b/cu29/prelude/pool/index.html @@ -1,4 +1,4 @@ -cu29::prelude::pool - Rust
    cu29::prelude

    Module pool

    Source

    Structs§

    AlignedBuffer
    A buffer that is aligned to a specific size with the Element of type E.
    CuHandle
    A shareable handle to an Array coming from a pool (either host or device).
    CuHostMemoryPool
    A pool of host memory buffers.

    Enums§

    CuHandleInner
    A Handle to a Buffer. +cu29::prelude::pool - Rust
    cu29::prelude

    Module pool

    Source

    Structs§

    AlignedBuffer
    A buffer that is aligned to a specific size with the Element of type E.
    CuHandle
    A shareable handle to an Array coming from a pool (either host or device).
    CuHostMemoryPool
    A pool of host memory buffers.

    Enums§

    CuHandleInner
    A Handle to a Buffer. For onboard usages, the buffer should be Pooled (ie, coming from a preallocated pool). The Detached version is for offline usages where we don’t really need a pool to deserialize them.

    Traits§

    ArrayLike
    CuPool
    A CuPool is a pool of buffers that can be shared between different parts of the code. Handles can be stored locally in the tasks and shared between them.
    DeviceCuPool
    A device memory pool can copy data from a device to a host memory pool on top.
    ElementType
    Basic Type that can be used in a buffer in a CuPool.
    PoolMonitor
    Trait for a Pool to exposed to be monitored by the monitoring API.

    Functions§

    pools_statistics
    Get the list of pools and their statistics. diff --git a/cu29/prelude/pool/struct.AlignedBuffer.html b/cu29/prelude/pool/struct.AlignedBuffer.html index bb33e8df6..999e53936 100644 --- a/cu29/prelude/pool/struct.AlignedBuffer.html +++ b/cu29/prelude/pool/struct.AlignedBuffer.html @@ -1,4 +1,4 @@ -AlignedBuffer in cu29::prelude::pool - Rust
    cu29::prelude::pool

    Struct AlignedBuffer

    Source
    pub struct AlignedBuffer<E>
    where +AlignedBuffer in cu29::prelude::pool - Rust
    cu29::prelude::pool

    Struct AlignedBuffer

    Source
    pub struct AlignedBuffer<E>
    where E: ElementType,
    { /* private fields */ }
    Expand description

    A buffer that is aligned to a specific size with the Element of type E.

    Implementations§

    Source§

    impl<E> AlignedBuffer<E>
    where E: ElementType,

    Source

    pub fn new(num_elements: usize, alignment: usize) -> AlignedBuffer<E>

    Methods from Deref<Target = [E]>§

    Source

    pub fn write_copy_of_slice(&mut self, src: &[T]) -> &mut [T]
    where @@ -2662,12 +2662,12 @@
    §Examples<
    §Examples
    assert_eq!(["hello", "world"].connect(" "), "hello world");
     assert_eq!([[1, 2], [3, 4]].connect(&0), [1, 2, 0, 3, 4]);
    -

    1.23.0 · Source

    pub fn to_ascii_uppercase(&self) -> Vec<u8>

    Returns a vector containing a copy of this slice where each byte +

    1.23.0 · Source

    pub fn to_ascii_uppercase(&self) -> Vec<u8>

    Returns a vector containing a copy of this slice where each byte is mapped to its ASCII upper case equivalent.

    ASCII letters ‘a’ to ‘z’ are mapped to ‘A’ to ‘Z’, but non-ASCII letters are unchanged.

    To uppercase the value in-place, use make_ascii_uppercase.

    -
    1.23.0 · Source

    pub fn to_ascii_lowercase(&self) -> Vec<u8>

    Returns a vector containing a copy of this slice where each byte +

    1.23.0 · Source

    pub fn to_ascii_lowercase(&self) -> Vec<u8>

    Returns a vector containing a copy of this slice where each byte is mapped to its ASCII lower case equivalent.

    ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, but non-ASCII letters are unchanged.

    @@ -2691,4 +2691,4 @@
    §Examples< T: ?Sized,
    Source§

    type Target = T

    🔬This is a nightly-only experimental API. (arbitrary_self_types)
    The target type on which the method may be called.
    Source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> ErasedDestructor for T
    where - T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file + T: 'static,
    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/cu29/prelude/pool/struct.CuHandle.html b/cu29/prelude/pool/struct.CuHandle.html index a01d6f28b..abfd21c95 100644 --- a/cu29/prelude/pool/struct.CuHandle.html +++ b/cu29/prelude/pool/struct.CuHandle.html @@ -1,4 +1,4 @@ -CuHandle in cu29::prelude::pool - Rust
    cu29::prelude::pool

    Struct CuHandle

    Source
    pub struct CuHandle<T>(/* private fields */)
    +CuHandle in cu29::prelude::pool - Rust
    cu29::prelude::pool

    Struct CuHandle

    Source
    pub struct CuHandle<T>(/* private fields */)
     where
         T: ArrayLike;
    Expand description

    A shareable handle to an Array coming from a pool (either host or device).

    Implementations§

    Source§

    impl<T> CuHandle<T>
    where @@ -28,7 +28,7 @@ T: ?Sized,

    Source§

    type Target = T

    🔬This is a nightly-only experimental API. (arbitrary_self_types)
    The target type on which the method may be called.
    Source§

    impl<T> ToOwned for T
    where T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    Source§

    impl<T> CopperListTuple for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> CopperListTuple for T
    where T: Encode + Decode + Debug,

    Source§

    impl<T> CuMsgPayload for T
    where T: Default + Debug + Clone + Encode + Decode,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/cu29/prelude/pool/struct.CuHostMemoryPool.html b/cu29/prelude/pool/struct.CuHostMemoryPool.html index f9a60fd30..8caa42359 100644 --- a/cu29/prelude/pool/struct.CuHostMemoryPool.html +++ b/cu29/prelude/pool/struct.CuHostMemoryPool.html @@ -1,4 +1,4 @@ -CuHostMemoryPool in cu29::prelude::pool - Rust
    cu29::prelude::pool

    Struct CuHostMemoryPool

    Source
    pub struct CuHostMemoryPool<T> { /* private fields */ }
    Expand description

    A pool of host memory buffers.

    +CuHostMemoryPool in cu29::prelude::pool - Rust
    cu29::prelude::pool

    Struct CuHostMemoryPool

    Source
    pub struct CuHostMemoryPool<T> { /* private fields */ }
    Expand description

    A pool of host memory buffers.

    Implementations§

    Source§

    impl<T> CuHostMemoryPool<T>
    where T: ArrayLike + 'static,

    Source

    pub fn new<F>( id: &str, diff --git a/cu29/prelude/pool/trait.ArrayLike.html b/cu29/prelude/pool/trait.ArrayLike.html index 12d6e78ce..4680c28a5 100644 --- a/cu29/prelude/pool/trait.ArrayLike.html +++ b/cu29/prelude/pool/trait.ArrayLike.html @@ -1,4 +1,4 @@ -ArrayLike in cu29::prelude::pool - Rust
    cu29::prelude::pool

    Trait ArrayLike

    Source
    pub trait ArrayLike:
    +ArrayLike in cu29::prelude::pool - Rust
    cu29::prelude::pool

    Trait ArrayLike

    Source
    pub trait ArrayLike:
         Deref<Target = [Self::Element]>
         + DerefMut
         + Debug
    diff --git a/cu29/prelude/pool/trait.CuPool.html b/cu29/prelude/pool/trait.CuPool.html
    index 27b747254..ab01c5a7a 100644
    --- a/cu29/prelude/pool/trait.CuPool.html
    +++ b/cu29/prelude/pool/trait.CuPool.html
    @@ -1,4 +1,4 @@
    -CuPool in cu29::prelude::pool - Rust
    cu29::prelude::pool

    Trait CuPool

    Source
    pub trait CuPool<T>: PoolMonitor
    where +CuPool in cu29::prelude::pool - Rust
    cu29::prelude::pool

    Trait CuPool

    Source
    pub trait CuPool<T>: PoolMonitor
    where T: ArrayLike,
    { // Required methods fn acquire(&self) -> Option<CuHandle<T>>; diff --git a/cu29/prelude/pool/trait.DeviceCuPool.html b/cu29/prelude/pool/trait.DeviceCuPool.html index 22fd3135f..882b2781f 100644 --- a/cu29/prelude/pool/trait.DeviceCuPool.html +++ b/cu29/prelude/pool/trait.DeviceCuPool.html @@ -1,4 +1,4 @@ -DeviceCuPool in cu29::prelude::pool - Rust
    cu29::prelude::pool

    Trait DeviceCuPool

    Source
    pub trait DeviceCuPool<T>: CuPool<T>
    where +DeviceCuPool in cu29::prelude::pool - Rust
    cu29::prelude::pool

    Trait DeviceCuPool

    Source
    pub trait DeviceCuPool<T>: CuPool<T>
    where T: ArrayLike,
    { // Required method fn copy_to_host_pool<O>( diff --git a/cu29/prelude/pool/trait.ElementType.html b/cu29/prelude/pool/trait.ElementType.html index f7fa7f94b..b056908ff 100644 --- a/cu29/prelude/pool/trait.ElementType.html +++ b/cu29/prelude/pool/trait.ElementType.html @@ -1,4 +1,4 @@ -ElementType in cu29::prelude::pool - Rust
    cu29::prelude::pool

    Trait ElementType

    Source
    pub trait ElementType:
    +ElementType in cu29::prelude::pool - Rust
    cu29::prelude::pool

    Trait ElementType

    Source
    pub trait ElementType:
         Sized
         + Default
         + Copy
    diff --git a/cu29/prelude/pool/trait.PoolMonitor.html b/cu29/prelude/pool/trait.PoolMonitor.html
    index c1bda4456..75ad98717 100644
    --- a/cu29/prelude/pool/trait.PoolMonitor.html
    +++ b/cu29/prelude/pool/trait.PoolMonitor.html
    @@ -1,4 +1,4 @@
    -PoolMonitor in cu29::prelude::pool - Rust
    cu29::prelude::pool

    Trait PoolMonitor

    Source
    pub trait PoolMonitor: Send + Sync {
    +PoolMonitor in cu29::prelude::pool - Rust
    cu29::prelude::pool

    Trait PoolMonitor

    Source
    pub trait PoolMonitor: Send + Sync {
         // Required methods
         fn id(&self) -> ArrayString<64>;
         fn space_left(&self) -> usize;
    diff --git a/cu29/prelude/simulation/enum.CuTaskCallbackState.html b/cu29/prelude/simulation/enum.CuTaskCallbackState.html
    index 8a391dfad..770fe5ac9 100644
    --- a/cu29/prelude/simulation/enum.CuTaskCallbackState.html
    +++ b/cu29/prelude/simulation/enum.CuTaskCallbackState.html
    @@ -1,4 +1,4 @@
    -CuTaskCallbackState in cu29::prelude::simulation - Rust
    cu29::prelude::simulation

    Enum CuTaskCallbackState

    Source
    pub enum CuTaskCallbackState<'cl, I, O>
    where +CuTaskCallbackState in cu29::prelude::simulation - Rust
    cu29::prelude::simulation

    Enum CuTaskCallbackState

    Source
    pub enum CuTaskCallbackState<'cl, I, O>
    where I: CuMsgPack<'cl>, O: CuMsgPack<'cl>,
    { New(Option<ComponentConfig>), diff --git a/cu29/prelude/simulation/enum.SimOverride.html b/cu29/prelude/simulation/enum.SimOverride.html index 6093ef50c..b573643bd 100644 --- a/cu29/prelude/simulation/enum.SimOverride.html +++ b/cu29/prelude/simulation/enum.SimOverride.html @@ -1,4 +1,4 @@ -SimOverride in cu29::prelude::simulation - Rust
    cu29::prelude::simulation

    Enum SimOverride

    Source
    pub enum SimOverride {
    +SimOverride in cu29::prelude::simulation - Rust
    cu29::prelude::simulation

    Enum SimOverride

    Source
    pub enum SimOverride {
         ExecutedBySim,
         ExecuteByRuntime,
         Errored(String),
    diff --git a/cu29/prelude/simulation/index.html b/cu29/prelude/simulation/index.html
    index 81c993122..47b825195 100644
    --- a/cu29/prelude/simulation/index.html
    +++ b/cu29/prelude/simulation/index.html
    @@ -1,4 +1,4 @@
    -cu29::prelude::simulation - Rust
    cu29::prelude

    Module simulation

    Source
    Expand description

    §cu29::simulation Module

    +cu29::prelude::simulation - Rust
    cu29::prelude

    Module simulation

    Source
    Expand description

    §cu29::simulation Module

    The cu29::simulation module provides an interface to simulate tasks in Copper-based systems. It offers structures, traits, and enums that enable hooking into the lifecycle of tasks, adapting their behavior, and integrating them with simulated hardware environments.

    diff --git a/cu29/prelude/simulation/struct.CuSimSinkTask.html b/cu29/prelude/simulation/struct.CuSimSinkTask.html index 8c7906d1a..698c6e3bc 100644 --- a/cu29/prelude/simulation/struct.CuSimSinkTask.html +++ b/cu29/prelude/simulation/struct.CuSimSinkTask.html @@ -1,4 +1,4 @@ -CuSimSinkTask in cu29::prelude::simulation - Rust
    cu29::prelude::simulation

    Struct CuSimSinkTask

    Source
    pub struct CuSimSinkTask<T> { /* private fields */ }
    Expand description

    This is a placeholder task for a sink task for the simulations. +CuSimSinkTask in cu29::prelude::simulation - Rust

    cu29::prelude::simulation

    Struct CuSimSinkTask

    Source
    pub struct CuSimSinkTask<T> { /* private fields */ }
    Expand description

    This is a placeholder task for a sink task for the simulations. It basically does nothing in place of a real driver so it won’t try to initialize any hardware.

    Trait Implementations§

    Source§

    impl<'cl, T> CuSinkTask<'cl> for CuSimSinkTask<T>
    where T: CuMsgPayload + 'cl,

    Source§

    type Input = &'cl CuMsg<T>

    Source§

    fn new(_config: Option<&ComponentConfig>) -> Result<CuSimSinkTask<T>, CuError>
    where diff --git a/cu29/prelude/simulation/struct.CuSimSrcTask.html b/cu29/prelude/simulation/struct.CuSimSrcTask.html index 5c029feef..a446c1caa 100644 --- a/cu29/prelude/simulation/struct.CuSimSrcTask.html +++ b/cu29/prelude/simulation/struct.CuSimSrcTask.html @@ -1,4 +1,4 @@ -CuSimSrcTask in cu29::prelude::simulation - Rust
    cu29::prelude::simulation

    Struct CuSimSrcTask

    Source
    pub struct CuSimSrcTask<T> { /* private fields */ }
    Expand description

    This is a placeholder task for a source task for the simulations. +CuSimSrcTask in cu29::prelude::simulation - Rust

    cu29::prelude::simulation

    Struct CuSimSrcTask

    Source
    pub struct CuSimSrcTask<T> { /* private fields */ }
    Expand description

    This is a placeholder task for a source task for the simulations. It basically does nothing in place of a real driver so it won’t try to initialize any hardware.

    Trait Implementations§

    Source§

    impl<'cl, T> CuSrcTask<'cl> for CuSimSrcTask<T>
    where T: CuMsgPayload + 'cl,

    Source§

    type Output = &'cl mut CuMsg<T>

    Source§

    fn new(_config: Option<&ComponentConfig>) -> Result<CuSimSrcTask<T>, CuError>
    where diff --git a/cu29/prelude/static.EXTRA_TEXT_LOGGER.html b/cu29/prelude/static.EXTRA_TEXT_LOGGER.html index d45291af3..8086baf39 100644 --- a/cu29/prelude/static.EXTRA_TEXT_LOGGER.html +++ b/cu29/prelude/static.EXTRA_TEXT_LOGGER.html @@ -1 +1 @@ -EXTRA_TEXT_LOGGER in cu29::prelude - Rust
    cu29::prelude

    Static EXTRA_TEXT_LOGGER

    Source
    pub static EXTRA_TEXT_LOGGER: RwLock<Option<Box<dyn Log>>>
    \ No newline at end of file +EXTRA_TEXT_LOGGER in cu29::prelude - Rust
    cu29::prelude

    Static EXTRA_TEXT_LOGGER

    pub static EXTRA_TEXT_LOGGER: RwLock<Option<Box<dyn Log>>>
    \ No newline at end of file diff --git a/cu29/prelude/static.GLOBAL.html b/cu29/prelude/static.GLOBAL.html index 199be9265..6629ede65 100644 --- a/cu29/prelude/static.GLOBAL.html +++ b/cu29/prelude/static.GLOBAL.html @@ -1 +1 @@ -GLOBAL in cu29::prelude - Rust
    cu29::prelude

    Static GLOBAL

    Source
    pub static GLOBAL: CountingAllocator
    \ No newline at end of file +GLOBAL in cu29::prelude - Rust
    cu29::prelude

    Static GLOBAL

    Source
    pub static GLOBAL: CountingAllocator
    \ No newline at end of file diff --git a/cu29/prelude/struct.AlignedBuffer.html b/cu29/prelude/struct.AlignedBuffer.html index 8eff4b46a..c7c051309 100644 --- a/cu29/prelude/struct.AlignedBuffer.html +++ b/cu29/prelude/struct.AlignedBuffer.html @@ -1,4 +1,4 @@ -AlignedBuffer in cu29::prelude - Rust
    cu29::prelude

    Struct AlignedBuffer

    Source
    pub struct AlignedBuffer<E>
    where +AlignedBuffer in cu29::prelude - Rust
    cu29::prelude

    Struct AlignedBuffer

    Source
    pub struct AlignedBuffer<E>
    where E: ElementType,
    { /* private fields */ }
    Expand description

    A buffer that is aligned to a specific size with the Element of type E.

    Implementations§

    Source§

    impl<E> AlignedBuffer<E>
    where E: ElementType,

    Source

    pub fn new(num_elements: usize, alignment: usize) -> AlignedBuffer<E>

    Methods from Deref<Target = [E]>§

    Source

    pub fn write_copy_of_slice(&mut self, src: &[T]) -> &mut [T]
    where @@ -2662,12 +2662,12 @@
    §Examples<
    §Examples
    assert_eq!(["hello", "world"].connect(" "), "hello world");
     assert_eq!([[1, 2], [3, 4]].connect(&0), [1, 2, 0, 3, 4]);
    -

    1.23.0 · Source

    pub fn to_ascii_uppercase(&self) -> Vec<u8>

    Returns a vector containing a copy of this slice where each byte +

    1.23.0 · Source

    pub fn to_ascii_uppercase(&self) -> Vec<u8>

    Returns a vector containing a copy of this slice where each byte is mapped to its ASCII upper case equivalent.

    ASCII letters ‘a’ to ‘z’ are mapped to ‘A’ to ‘Z’, but non-ASCII letters are unchanged.

    To uppercase the value in-place, use make_ascii_uppercase.

    -
    1.23.0 · Source

    pub fn to_ascii_lowercase(&self) -> Vec<u8>

    Returns a vector containing a copy of this slice where each byte +

    1.23.0 · Source

    pub fn to_ascii_lowercase(&self) -> Vec<u8>

    Returns a vector containing a copy of this slice where each byte is mapped to its ASCII lower case equivalent.

    ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, but non-ASCII letters are unchanged.

    @@ -2691,4 +2691,4 @@
    §Examples< T: ?Sized,

    Source§

    type Target = T

    🔬This is a nightly-only experimental API. (arbitrary_self_types)
    The target type on which the method may be called.
    Source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> ErasedDestructor for T
    where - T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file + T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/cu29/prelude/struct.Cnx.html b/cu29/prelude/struct.Cnx.html index ce044c892..e9b0bff86 100644 --- a/cu29/prelude/struct.Cnx.html +++ b/cu29/prelude/struct.Cnx.html @@ -1,4 +1,4 @@ -Cnx in cu29::prelude - Rust
    cu29::prelude

    Struct Cnx

    Source
    pub struct Cnx {
    +Cnx in cu29::prelude - Rust
    cu29::prelude

    Struct Cnx

    Source
    pub struct Cnx {
         pub msg: String,
         pub batch: Option<u32>,
         pub store: Option<bool>,
    diff --git a/cu29/prelude/struct.ComponentConfig.html b/cu29/prelude/struct.ComponentConfig.html
    index 4165c4e1a..23a9b8a3a 100644
    --- a/cu29/prelude/struct.ComponentConfig.html
    +++ b/cu29/prelude/struct.ComponentConfig.html
    @@ -1,4 +1,4 @@
    -ComponentConfig in cu29::prelude - Rust
    cu29::prelude

    Struct ComponentConfig

    Source
    pub struct ComponentConfig(pub HashMap<String, Value>);
    Expand description

    This is the configuration of a component (like a task config or a monitoring config):w +ComponentConfig in cu29::prelude - Rust

    cu29::prelude

    Struct ComponentConfig

    Source
    pub struct ComponentConfig(pub HashMap<String, Value>);
    Expand description

    This is the configuration of a component (like a task config or a monitoring config):w It is a map of key-value pairs. It is given to the new method of the task implementation.

    Tuple Fields§

    §0: HashMap<String, Value>

    Implementations§

    Source§

    impl ComponentConfig

    Source

    pub fn new() -> ComponentConfig

    Source

    pub fn get<T>(&self, key: &str) -> Option<T>
    where diff --git a/cu29/prelude/struct.CopperContext.html b/cu29/prelude/struct.CopperContext.html index c71da37cc..3ac84ea04 100644 --- a/cu29/prelude/struct.CopperContext.html +++ b/cu29/prelude/struct.CopperContext.html @@ -1,4 +1,4 @@ -CopperContext in cu29::prelude - Rust
    cu29::prelude

    Struct CopperContext

    Source
    pub struct CopperContext {
    +CopperContext in cu29::prelude - Rust
    cu29::prelude

    Struct CopperContext

    Source
    pub struct CopperContext {
         pub unified_logger: Arc<Mutex<UnifiedLoggerWrite>>,
         pub logger_runtime: LoggerRuntime,
         pub clock: RobotClock,
    diff --git a/cu29/prelude/struct.CopperLiskMask.html b/cu29/prelude/struct.CopperLiskMask.html
    index f2927c65f..848eb99ea 100644
    --- a/cu29/prelude/struct.CopperLiskMask.html
    +++ b/cu29/prelude/struct.CopperLiskMask.html
    @@ -1,4 +1,4 @@
    -CopperLiskMask in cu29::prelude - Rust
    cu29::prelude

    Struct CopperLiskMask

    Source
    pub struct CopperLiskMask { /* private fields */ }
    Expand description

    Not implemented yet. +CopperLiskMask in cu29::prelude - Rust

    cu29::prelude

    Struct CopperLiskMask

    Source
    pub struct CopperLiskMask { /* private fields */ }
    Expand description

    Not implemented yet. This mask will be used to for example filter out necessary regions of a copper list between remote systems.

    Trait Implementations§

    Source§

    impl<'__de> BorrowDecode<'__de> for CopperLiskMask

    Source§

    fn borrow_decode<__D>(decoder: &mut __D) -> Result<CopperLiskMask, DecodeError>
    where __D: BorrowDecoder<'__de>,

    Attempt to decode this type with the given BorrowDecode.
    Source§

    impl Clone for CopperLiskMask

    Source§

    fn clone(&self) -> CopperLiskMask

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for CopperLiskMask

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl Decode for CopperLiskMask

    Source§

    fn decode<__D>(decoder: &mut __D) -> Result<CopperLiskMask, DecodeError>
    where @@ -16,6 +16,6 @@

    Source§

    impl<T> ToOwned for T
    where T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    Source§

    impl<T> CopperListTuple for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> CopperListTuple for T
    where T: Encode + Decode + Debug,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/cu29/prelude/struct.CopperList.html b/cu29/prelude/struct.CopperList.html index 77e95f088..019df661f 100644 --- a/cu29/prelude/struct.CopperList.html +++ b/cu29/prelude/struct.CopperList.html @@ -1,4 +1,4 @@ -CopperList in cu29::prelude - Rust
    cu29::prelude

    Struct CopperList

    Source
    pub struct CopperList<P>
    where +CopperList in cu29::prelude - Rust
    cu29::prelude

    Struct CopperList

    Source
    pub struct CopperList<P>
    where P: CopperListTuple,
    { pub id: u32, pub msgs: P, @@ -27,6 +27,6 @@ From<T> for U chooses to do.

    Source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    Source§

    impl<T> CopperListTuple for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> CopperListTuple for T
    where T: Encode + Decode + Debug,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/cu29/prelude/struct.CountingAllocator.html b/cu29/prelude/struct.CountingAllocator.html index ed4dca73e..fecd909cf 100644 --- a/cu29/prelude/struct.CountingAllocator.html +++ b/cu29/prelude/struct.CountingAllocator.html @@ -1,4 +1,4 @@ -CountingAllocator in cu29::prelude - Rust
    cu29::prelude

    Struct CountingAllocator

    Source
    pub struct CountingAllocator { /* private fields */ }
    Expand description

    A simple allocator that counts the number of bytes allocated and deallocated.

    +CountingAllocator in cu29::prelude - Rust
    cu29::prelude

    Struct CountingAllocator

    Source
    pub struct CountingAllocator { /* private fields */ }
    Expand description

    A simple allocator that counts the number of bytes allocated and deallocated.

    Implementations§

    Trait Implementations§

    Source§

    impl Default for CountingAllocator

    Source§

    fn default() -> CountingAllocator

    Returns the “default value” for a type. Read more
    Source§

    impl GlobalAlloc for CountingAllocator

    Source§

    unsafe fn alloc(&self, layout: Layout) -> *mut u8

    Allocates memory as described by the given layout. Read more
    Source§

    unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout)

    Deallocates the block of memory at the given ptr pointer with the given layout. Read more
    1.28.0 · Source§

    unsafe fn alloc_zeroed(&self, layout: Layout) -> *mut u8

    Behaves like alloc, but also ensures that the contents are set to zero before being returned. Read more
    1.28.0 · Source§

    unsafe fn realloc( &self, diff --git a/cu29/prelude/struct.CuArray.html b/cu29/prelude/struct.CuArray.html index 3352d20a8..a62d3a1e9 100644 --- a/cu29/prelude/struct.CuArray.html +++ b/cu29/prelude/struct.CuArray.html @@ -1,4 +1,4 @@ -CuArray in cu29::prelude - Rust
    cu29::prelude

    Struct CuArray

    Source
    pub struct CuArray<T, const N: usize> { /* private fields */ }
    Expand description

    Copper friendly wrapper for a fixed size array.

    +CuArray in cu29::prelude - Rust
    cu29::prelude

    Struct CuArray

    Source
    pub struct CuArray<T, const N: usize> { /* private fields */ }
    Expand description

    Copper friendly wrapper for a fixed size array.

    Implementations§

    Source§

    impl<T, const N: usize> CuArray<T, N>

    Source

    pub fn new() -> CuArray<T, N>

    Source

    pub fn fill_from_iter<I>(&mut self, iter: I)
    where I: IntoIterator<Item = T>,

    Source

    pub fn len(&self) -> usize

    Source

    pub fn is_empty(&self) -> bool

    Source

    pub fn as_slice(&self) -> &[T]

    Source

    pub fn capacity(&self) -> usize

    Trait Implementations§

    Source§

    impl<T, const N: usize> Clone for CuArray<T, N>
    where T: Clone,

    Source§

    fn clone(&self) -> CuArray<T, N>

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl<T, const N: usize> Debug for CuArray<T, N>
    where @@ -25,7 +25,7 @@

    Source§

    impl<T> ToOwned for T
    where T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    Source§

    impl<T> CopperListTuple for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> CopperListTuple for T
    where T: Encode + Decode + Debug,

    Source§

    impl<T> CuMsgPayload for T
    where T: Default + Debug + Clone + Encode + Decode,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/cu29/prelude/struct.CuCompactString.html b/cu29/prelude/struct.CuCompactString.html index 9aa56bd76..34ed7ddce 100644 --- a/cu29/prelude/struct.CuCompactString.html +++ b/cu29/prelude/struct.CuCompactString.html @@ -1,4 +1,4 @@ -CuCompactString in cu29::prelude - Rust
    cu29::prelude

    Struct CuCompactString

    Source
    pub struct CuCompactString(pub CompactString);

    Tuple Fields§

    §0: CompactString

    Trait Implementations§

    Source§

    impl<'de> BorrowDecode<'de> for CuCompactString

    Source§

    fn borrow_decode<D>(decoder: &mut D) -> Result<CuCompactString, DecodeError>
    where +CuCompactString in cu29::prelude - Rust
    cu29::prelude

    Struct CuCompactString

    Source
    pub struct CuCompactString(pub CompactString);

    Tuple Fields§

    §0: CompactString

    Trait Implementations§

    Source§

    impl<'de> BorrowDecode<'de> for CuCompactString

    Source§

    fn borrow_decode<D>(decoder: &mut D) -> Result<CuCompactString, DecodeError>
    where D: BorrowDecoder<'de>,

    Attempt to decode this type with the given BorrowDecode.
    Source§

    impl Clone for CuCompactString

    Source§

    fn clone(&self) -> CuCompactString

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for CuCompactString

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl Decode for CuCompactString

    Source§

    fn decode<D>(decoder: &mut D) -> Result<CuCompactString, DecodeError>
    where D: Decoder,

    Attempt to decode this type with the given Decode.
    Source§

    impl Default for CuCompactString

    Source§

    fn default() -> CuCompactString

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for CuCompactString

    Source§

    fn deserialize<__D>( __deserializer: __D, @@ -26,7 +26,7 @@

    Source§

    impl<T> ToOwned for T
    where T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    Source§

    impl<T> CopperListTuple for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> CopperListTuple for T
    where T: Encode + Decode + Debug,

    Source§

    impl<T> CuMsgPayload for T
    where T: Default + Debug + Clone + Encode + Decode,

    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where diff --git a/cu29/prelude/struct.CuConfig.html b/cu29/prelude/struct.CuConfig.html index 5510c8175..81feef501 100644 --- a/cu29/prelude/struct.CuConfig.html +++ b/cu29/prelude/struct.CuConfig.html @@ -1,4 +1,4 @@ -CuConfig in cu29::prelude - Rust
    cu29::prelude

    Struct CuConfig

    Source
    pub struct CuConfig {
    +CuConfig in cu29::prelude - Rust
    cu29::prelude

    Struct CuConfig

    Source
    pub struct CuConfig {
         pub graph: StableGraph<Node, Cnx>,
         pub monitor: Option<MonitorConfig>,
         pub logging: Option<LoggingConfig>,
    diff --git a/cu29/prelude/struct.CuDuration.html b/cu29/prelude/struct.CuDuration.html
    index 979c1725c..7e84b5f26 100644
    --- a/cu29/prelude/struct.CuDuration.html
    +++ b/cu29/prelude/struct.CuDuration.html
    @@ -1,26 +1,26 @@
    -CuDuration in cu29::prelude - Rust
    cu29::prelude

    Struct CuDuration

    Source
    pub struct CuDuration(pub u64);
    Expand description

    For Robot times, the underlying type is a u64 representing nanoseconds. +CuDuration in cu29::prelude - Rust

    cu29::prelude

    Struct CuDuration

    pub struct CuDuration(pub u64);
    Expand description

    For Robot times, the underlying type is a u64 representing nanoseconds. It is always positive to simplify the reasoning on the user side.

    -

    Tuple Fields§

    §0: u64

    Implementations§

    Source§

    impl CuDuration

    Source

    pub const MIN: CuDuration

    Source

    pub const MAX: CuDuration

    Source

    pub fn max(&self, p0: CuDuration) -> CuDuration

    Source

    pub fn min(&self, p0: CuDuration) -> CuDuration

    Source

    pub fn as_nanos(&self) -> u64

    Trait Implementations§

    Source§

    impl Add for CuDuration

    Source§

    type Output = CuDuration

    The resulting type after applying the + operator.
    Source§

    fn add(self, rhs: CuDuration) -> <CuDuration as Add>::Output

    Performs the + operation. Read more
    Source§

    impl AddAssign for CuDuration

    Source§

    fn add_assign(&mut self, rhs: CuDuration)

    Performs the += operation. Read more
    Source§

    impl<'de> BorrowDecode<'de> for CuDuration

    Source§

    fn borrow_decode<D>(decoder: &mut D) -> Result<CuDuration, DecodeError>
    where - D: BorrowDecoder<'de>,

    Attempt to decode this type with the given BorrowDecode.
    Source§

    impl Clone for CuDuration

    Source§

    fn clone(&self) -> CuDuration

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for CuDuration

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl Decode for CuDuration

    Source§

    fn decode<D>(decoder: &mut D) -> Result<CuDuration, DecodeError>
    where - D: Decoder,

    Attempt to decode this type with the given Decode.
    Source§

    impl Default for CuDuration

    Source§

    fn default() -> CuDuration

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for CuDuration

    Tuple Fields§

    §0: u64

    Implementations§

    §

    impl CuDuration

    pub const MIN: CuDuration

    pub const MAX: CuDuration

    pub fn max(&self, p0: CuDuration) -> CuDuration

    pub fn min(&self, p0: CuDuration) -> CuDuration

    pub fn as_nanos(&self) -> u64

    Trait Implementations§

    §

    impl Add for CuDuration

    §

    type Output = CuDuration

    The resulting type after applying the + operator.
    §

    fn add(self, rhs: CuDuration) -> <CuDuration as Add>::Output

    Performs the + operation. Read more
    §

    impl AddAssign for CuDuration

    §

    fn add_assign(&mut self, rhs: CuDuration)

    Performs the += operation. Read more
    §

    impl<'de> BorrowDecode<'de> for CuDuration

    §

    fn borrow_decode<D>(decoder: &mut D) -> Result<CuDuration, DecodeError>
    where + D: BorrowDecoder<'de>,

    Attempt to decode this type with the given BorrowDecode.
    §

    impl Clone for CuDuration

    §

    fn clone(&self) -> CuDuration

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for CuDuration

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Decode for CuDuration

    §

    fn decode<D>(decoder: &mut D) -> Result<CuDuration, DecodeError>
    where + D: Decoder,

    Attempt to decode this type with the given Decode.
    §

    impl Default for CuDuration

    §

    fn default() -> CuDuration

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for CuDuration

    §

    fn deserialize<__D>( __deserializer: __D, ) -> Result<CuDuration, <__D as Deserializer<'de>>::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Display for CuDuration

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl<T> Div<T> for CuDuration
    where - T: Into<u64>,

    Source§

    type Output = CuDuration

    The resulting type after applying the / operator.
    Source§

    fn div(self, rhs: T) -> CuDuration

    Performs the / operation. Read more
    Source§

    impl Encode for CuDuration

    Source§

    fn encode<E>(&self, encoder: &mut E) -> Result<(), EncodeError>
    where - E: Encoder,

    Encode a given type.
    Source§

    impl From<CuDuration> for OptionCuTime

    Source§

    fn from(val: CuDuration) -> OptionCuTime

    Converts to this type from the input type.
    Source§

    impl From<CuDuration> for Tov

    Source§

    fn from(duration: CuDuration) -> Tov

    Converts to this type from the input type.
    Source§

    impl From<Duration> for CuDuration

    bridge the API with standard Durations.

    -
    Source§

    fn from(duration: Duration) -> CuDuration

    Converts to this type from the input type.
    Source§

    impl From<u64> for CuDuration

    Source§

    fn from(duration: u64) -> CuDuration

    Converts to this type from the input type.
    Source§

    impl<T> Mul<T> for CuDuration
    where - T: Into<u64>,

    Source§

    type Output = CuDuration

    The resulting type after applying the * operator.
    Source§

    fn mul(self, rhs: T) -> CuDuration

    Performs the * operation. Read more
    Source§

    impl Ord for CuDuration

    Source§

    fn cmp(&self, other: &CuDuration) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · Source§

    fn max(self, other: Self) -> Self
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Display for CuDuration

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<T> Div<T> for CuDuration
    where + T: Into<u64>,

    §

    type Output = CuDuration

    The resulting type after applying the / operator.
    §

    fn div(self, rhs: T) -> CuDuration

    Performs the / operation. Read more
    §

    impl Encode for CuDuration

    §

    fn encode<E>(&self, encoder: &mut E) -> Result<(), EncodeError>
    where + E: Encoder,

    Encode a given type.
    §

    impl From<CuDuration> for OptionCuTime

    §

    fn from(val: CuDuration) -> OptionCuTime

    Converts to this type from the input type.
    §

    impl From<CuDuration> for Tov

    §

    fn from(duration: CuDuration) -> Tov

    Converts to this type from the input type.
    §

    impl From<Duration> for CuDuration

    bridge the API with standard Durations.

    +
    §

    fn from(duration: Duration) -> CuDuration

    Converts to this type from the input type.
    §

    impl From<u64> for CuDuration

    §

    fn from(duration: u64) -> CuDuration

    Converts to this type from the input type.
    §

    impl<T> Mul<T> for CuDuration
    where + T: Into<u64>,

    §

    type Output = CuDuration

    The resulting type after applying the * operator.
    §

    fn mul(self, rhs: T) -> CuDuration

    Performs the * operation. Read more
    §

    impl Ord for CuDuration

    §

    fn cmp(&self, other: &CuDuration) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · Source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · Source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · Source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    Source§

    impl PartialEq for CuDuration

    Source§

    fn eq(&self, other: &CuDuration) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    Source§

    impl PartialOrd for CuDuration

    Source§

    fn partial_cmp(&self, other: &CuDuration) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · Source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · Source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,

    Restrict a value to a certain interval. Read more
    §

    impl PartialEq for CuDuration

    §

    fn eq(&self, other: &CuDuration) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    §

    impl PartialOrd for CuDuration

    §

    fn partial_cmp(&self, other: &CuDuration) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · Source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · Source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · Source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · Source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    Source§

    impl Serialize for CuDuration

    Source§

    fn serialize<__S>( +the >= operator. Read more

    §

    impl Serialize for CuDuration

    §

    fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    Source§

    impl Sub for CuDuration

    Source§

    type Output = CuDuration

    The resulting type after applying the - operator.
    Source§

    fn sub(self, rhs: CuDuration) -> <CuDuration as Sub>::Output

    Performs the - operation. Read more
    Source§

    impl SubAssign for CuDuration

    Source§

    fn sub_assign(&mut self, rhs: CuDuration)

    Performs the -= operation. Read more
    Source§

    impl Copy for CuDuration

    Source§

    impl Eq for CuDuration

    Source§

    impl StructuralPartialEq for CuDuration

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl Sub for CuDuration

    §

    type Output = CuDuration

    The resulting type after applying the - operator.
    §

    fn sub(self, rhs: CuDuration) -> <CuDuration as Sub>::Output

    Performs the - operation. Read more
    §

    impl SubAssign for CuDuration

    §

    fn sub_assign(&mut self, rhs: CuDuration)

    Performs the -= operation. Read more
    §

    impl Copy for CuDuration

    §

    impl Eq for CuDuration

    §

    impl StructuralPartialEq for CuDuration

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where @@ -41,7 +41,7 @@ T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    Source§

    fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    Source§

    impl<T> CopperListTuple for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> CopperListTuple for T
    where T: Encode + Decode + Debug,

    Source§

    impl<T> CuMsgPayload for T
    where T: Default + Debug + Clone + Encode + Decode,

    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    Source§

    impl<T> ElementType for T
    where diff --git a/cu29/prelude/struct.CuDurationStatistics.html b/cu29/prelude/struct.CuDurationStatistics.html index f9d226377..42b0a61ce 100644 --- a/cu29/prelude/struct.CuDurationStatistics.html +++ b/cu29/prelude/struct.CuDurationStatistics.html @@ -1,4 +1,4 @@ -CuDurationStatistics in cu29::prelude - Rust
    cu29::prelude

    Struct CuDurationStatistics

    Source
    pub struct CuDurationStatistics { /* private fields */ }
    Expand description

    A Specialized statistics object for CuDuration. +CuDurationStatistics in cu29::prelude - Rust

    cu29::prelude

    Struct CuDurationStatistics

    Source
    pub struct CuDurationStatistics { /* private fields */ }
    Expand description

    A Specialized statistics object for CuDuration. It will also keep track of the jitter between the values.

    Implementations§

    Source§

    impl CuDurationStatistics

    Source

    pub fn new(max: CuDuration) -> CuDurationStatistics

    Source

    pub fn min(&self) -> CuDuration

    Source

    pub fn max(&self) -> CuDuration

    Source

    pub fn mean(&self) -> CuDuration

    Source

    pub fn percentile(&self, percentile: f64) -> CuDuration

    Source

    pub fn stddev(&self) -> CuDuration

    Source

    pub fn len(&self) -> u64

    Source

    pub fn is_empty(&self) -> bool

    Source

    pub fn jitter_min(&self) -> CuDuration

    Source

    pub fn jitter_max(&self) -> CuDuration

    Source

    pub fn jitter_mean(&self) -> CuDuration

    Source

    pub fn jitter_stddev(&self) -> CuDuration

    Source

    pub fn jitter_percentile(&self, percentile: f64) -> CuDuration

    Source

    pub fn record(&mut self, value: CuDuration)

    Source

    pub fn reset(&mut self)

    Trait Implementations§

    Source§

    impl Clone for CuDurationStatistics

    Source§

    fn clone(&self) -> CuDurationStatistics

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for CuDurationStatistics

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where diff --git a/cu29/prelude/struct.CuError.html b/cu29/prelude/struct.CuError.html index 08948ae21..ab8547546 100644 --- a/cu29/prelude/struct.CuError.html +++ b/cu29/prelude/struct.CuError.html @@ -1,8 +1,8 @@ -CuError in cu29::prelude - Rust
    cu29::prelude

    Struct CuError

    Source
    pub struct CuError { /* private fields */ }
    Expand description

    Common copper Error type.

    -

    Implementations§

    Source§

    impl CuError

    Source

    pub fn new_with_cause(message: &str, cause: impl Error) -> CuError

    Source

    pub fn add_cause(self, context: &str) -> CuError

    Trait Implementations§

    Source§

    impl Clone for CuError

    Source§

    fn clone(&self) -> CuError

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for CuError

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for CuError

    Source§

    fn deserialize<__D>( +CuError in cu29::prelude - Rust
    cu29::prelude

    Struct CuError

    pub struct CuError { /* private fields */ }
    Expand description

    Common copper Error type.

    +

    Implementations§

    §

    impl CuError

    pub fn new_with_cause(message: &str, cause: impl Error) -> CuError

    pub fn add_cause(self, context: &str) -> CuError

    Trait Implementations§

    §

    impl Clone for CuError

    §

    fn clone(&self) -> CuError

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for CuError

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for CuError

    §

    fn deserialize<__D>( __deserializer: __D, ) -> Result<CuError, <__D as Deserializer<'de>>::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Display for CuError

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl Error for CuError

    1.30.0 · Source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    Returns the lower-level source of this error, if any. Read more
    1.0.0 · Source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · Source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    Source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type-based access to context intended for error reports. Read more
    Source§

    impl From<&str> for CuError

    Source§

    fn from(s: &str) -> CuError

    Converts to this type from the input type.
    Source§

    impl From<String> for CuError

    Source§

    fn from(s: String) -> CuError

    Converts to this type from the input type.
    Source§

    impl Serialize for CuError

    Source§

    fn serialize<__S>( + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Display for CuError

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Error for CuError

    1.30.0 · Source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    Returns the lower-level source of this error, if any. Read more
    1.0.0 · Source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · Source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    Source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type-based access to context intended for error reports. Read more
    §

    impl From<&str> for CuError

    §

    fn from(s: &str) -> CuError

    Converts to this type from the input type.
    §

    impl From<String> for CuError

    §

    fn from(s: String) -> CuError

    Converts to this type from the input type.
    §

    impl Serialize for CuError

    §

    fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where diff --git a/cu29/prelude/struct.CuExecutionLoop.html b/cu29/prelude/struct.CuExecutionLoop.html index ea62e82ec..0d587bf60 100644 --- a/cu29/prelude/struct.CuExecutionLoop.html +++ b/cu29/prelude/struct.CuExecutionLoop.html @@ -1,4 +1,4 @@ -CuExecutionLoop in cu29::prelude - Rust
    cu29::prelude

    Struct CuExecutionLoop

    Source
    pub struct CuExecutionLoop {
    +CuExecutionLoop in cu29::prelude - Rust
    cu29::prelude

    Struct CuExecutionLoop

    Source
    pub struct CuExecutionLoop {
         pub steps: Vec<CuExecutionUnit>,
         pub loop_count: Option<u32>,
     }
    Expand description

    This structure represents a loop in the execution plan. diff --git a/cu29/prelude/struct.CuExecutionStep.html b/cu29/prelude/struct.CuExecutionStep.html index 33a19e274..723496588 100644 --- a/cu29/prelude/struct.CuExecutionStep.html +++ b/cu29/prelude/struct.CuExecutionStep.html @@ -1,4 +1,4 @@ -CuExecutionStep in cu29::prelude - Rust

    cu29::prelude

    Struct CuExecutionStep

    Source
    pub struct CuExecutionStep {
    +CuExecutionStep in cu29::prelude - Rust
    cu29::prelude

    Struct CuExecutionStep

    Source
    pub struct CuExecutionStep {
         pub node_id: u32,
         pub node: Node,
         pub task_type: CuTaskType,
    diff --git a/cu29/prelude/struct.CuHandle.html b/cu29/prelude/struct.CuHandle.html
    index 8dd7af157..fe3b0fb54 100644
    --- a/cu29/prelude/struct.CuHandle.html
    +++ b/cu29/prelude/struct.CuHandle.html
    @@ -1,4 +1,4 @@
    -CuHandle in cu29::prelude - Rust
    cu29::prelude

    Struct CuHandle

    Source
    pub struct CuHandle<T>(/* private fields */)
    +CuHandle in cu29::prelude - Rust
    cu29::prelude

    Struct CuHandle

    Source
    pub struct CuHandle<T>(/* private fields */)
     where
         T: ArrayLike;
    Expand description

    A shareable handle to an Array coming from a pool (either host or device).

    Implementations§

    Source§

    impl<T> CuHandle<T>
    where @@ -28,7 +28,7 @@ T: ?Sized,

    Source§

    type Target = T

    🔬This is a nightly-only experimental API. (arbitrary_self_types)
    The target type on which the method may be called.
    Source§

    impl<T> ToOwned for T
    where T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    Source§

    impl<T> CopperListTuple for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> CopperListTuple for T
    where T: Encode + Decode + Debug,

    Source§

    impl<T> CuMsgPayload for T
    where T: Default + Debug + Clone + Encode + Decode,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/cu29/prelude/struct.CuHostMemoryPool.html b/cu29/prelude/struct.CuHostMemoryPool.html index 5b6312914..d7769958a 100644 --- a/cu29/prelude/struct.CuHostMemoryPool.html +++ b/cu29/prelude/struct.CuHostMemoryPool.html @@ -1,4 +1,4 @@ -CuHostMemoryPool in cu29::prelude - Rust
    cu29::prelude

    Struct CuHostMemoryPool

    Source
    pub struct CuHostMemoryPool<T> { /* private fields */ }
    Expand description

    A pool of host memory buffers.

    +CuHostMemoryPool in cu29::prelude - Rust
    cu29::prelude

    Struct CuHostMemoryPool

    Source
    pub struct CuHostMemoryPool<T> { /* private fields */ }
    Expand description

    A pool of host memory buffers.

    Implementations§

    Source§

    impl<T> CuHostMemoryPool<T>
    where T: ArrayLike + 'static,

    Source

    pub fn new<F>( id: &str, diff --git a/cu29/prelude/struct.CuListsManager.html b/cu29/prelude/struct.CuListsManager.html index 13eb5af99..e510bb32e 100644 --- a/cu29/prelude/struct.CuListsManager.html +++ b/cu29/prelude/struct.CuListsManager.html @@ -1,4 +1,4 @@ -CuListsManager in cu29::prelude - Rust
    cu29::prelude

    Struct CuListsManager

    Source
    pub struct CuListsManager<P, const N: usize>
    where +CuListsManager in cu29::prelude - Rust
    cu29::prelude

    Struct CuListsManager

    Source
    pub struct CuListsManager<P, const N: usize>
    where P: CopperListTuple,
    { /* private fields */ }
    Expand description

    This structure maintains the entire memory needed by Copper for one loop for the inter tasks communication within a process. P or Payload is typically a Tuple of various types of messages that are exchanged between tasks. N is the maximum number of in flight Copper List the runtime can support.

    diff --git a/cu29/prelude/struct.CuLogEntry.html b/cu29/prelude/struct.CuLogEntry.html index d0d5ba353..fecd473a1 100644 --- a/cu29/prelude/struct.CuLogEntry.html +++ b/cu29/prelude/struct.CuLogEntry.html @@ -1,23 +1,23 @@ -CuLogEntry in cu29::prelude - Rust
    cu29::prelude

    Struct CuLogEntry

    Source
    pub struct CuLogEntry {
    +CuLogEntry in cu29::prelude - Rust
    cu29::prelude

    Struct CuLogEntry

    pub struct CuLogEntry {
         pub time: CuDuration,
         pub msg_index: u32,
         pub paramname_indexes: SmallVec<[u32; 10]>,
         pub params: SmallVec<[Value; 10]>,
     }
    Expand description

    This is the basic structure for a log entry in Copper.

    -

    Fields§

    §time: CuDuration§msg_index: u32§paramname_indexes: SmallVec<[u32; 10]>§params: SmallVec<[Value; 10]>

    Implementations§

    Source§

    impl CuLogEntry

    Source

    pub fn new(msg_index: u32) -> CuLogEntry

    msg_index is the interned index of the message.

    -
    Source

    pub fn add_param(&mut self, paramname_index: u32, param: Value)

    Add a parameter to the log entry. +

    Fields§

    §time: CuDuration§msg_index: u32§paramname_indexes: SmallVec<[u32; 10]>§params: SmallVec<[Value; 10]>

    Implementations§

    §

    impl CuLogEntry

    pub fn new(msg_index: u32) -> CuLogEntry

    msg_index is the interned index of the message.

    +

    pub fn add_param(&mut self, paramname_index: u32, param: Value)

    Add a parameter to the log entry. paramname_index is the interned index of the parameter name.

    -

    Trait Implementations§

    Source§

    impl Debug for CuLogEntry

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl Decode for CuLogEntry

    Source§

    fn decode<D>(decoder: &mut D) -> Result<CuLogEntry, DecodeError>
    where - D: Decoder,

    Attempt to decode this type with the given Decode.
    Source§

    impl<'de> Deserialize<'de> for CuLogEntry

    Trait Implementations§

    §

    impl Debug for CuLogEntry

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Decode for CuLogEntry

    §

    fn decode<D>(decoder: &mut D) -> Result<CuLogEntry, DecodeError>
    where + D: Decoder,

    Attempt to decode this type with the given Decode.
    §

    impl<'de> Deserialize<'de> for CuLogEntry

    §

    fn deserialize<__D>( __deserializer: __D, ) -> Result<CuLogEntry, <__D as Deserializer<'de>>::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Display for CuLogEntry

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl Encode for CuLogEntry

    Source§

    fn encode<E>(&self, encoder: &mut E) -> Result<(), EncodeError>
    where - E: Encoder,

    Encode a given type.
    Source§

    impl PartialEq for CuLogEntry

    Source§

    fn eq(&self, other: &CuLogEntry) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    Source§

    impl Serialize for CuLogEntry

    Source§

    fn serialize<__S>( + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Display for CuLogEntry

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Encode for CuLogEntry

    §

    fn encode<E>(&self, encoder: &mut E) -> Result<(), EncodeError>
    where + E: Encoder,

    Encode a given type.
    §

    impl PartialEq for CuLogEntry

    §

    fn eq(&self, other: &CuLogEntry) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    §

    impl Serialize for CuLogEntry

    §

    fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    Source§

    impl WriteStream<CuLogEntry> for SimpleFileWriter

    Source§

    fn log(&mut self, obj: &CuLogEntry) -> Result<(), CuError>

    Source§

    fn flush(&mut self) -> Result<(), CuError>

    Source§

    impl StructuralPartialEq for CuLogEntry

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    §

    impl WriteStream<CuLogEntry> for SimpleFileWriter

    §

    fn log(&mut self, obj: &CuLogEntry) -> Result<(), CuError>

    §

    fn flush(&mut self) -> Result<(), CuError>

    §

    impl StructuralPartialEq for CuLogEntry

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> EncodableKey for T
    where @@ -30,7 +30,7 @@ T: Display,

    §

    fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>

    Fallible version of [ToCompactString::to_compact_string()] Read more
    §

    fn to_compact_string(&self) -> CompactString

    Converts the given value to a [CompactString]. Read more
    Source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    Source§

    fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    Source§

    impl<T> CopperListTuple for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> CopperListTuple for T
    where T: Encode + Decode + Debug,

    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/cu29/prelude/struct.CuMsg.html b/cu29/prelude/struct.CuMsg.html index 343e9534e..30fea0470 100644 --- a/cu29/prelude/struct.CuMsg.html +++ b/cu29/prelude/struct.CuMsg.html @@ -1,4 +1,4 @@ -CuMsg in cu29::prelude - Rust
    cu29::prelude

    Struct CuMsg

    Source
    pub struct CuMsg<T>
    where +CuMsg in cu29::prelude - Rust
    cu29::prelude

    Struct CuMsg

    Source
    pub struct CuMsg<T>
    where T: CuMsgPayload,
    { pub metadata: CuMsgMetadata, /* private fields */ @@ -34,7 +34,7 @@
    Source§

    impl<T> ToOwned for T
    where T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    Source§

    impl<T> CopperListTuple for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> CopperListTuple for T
    where T: Encode + Decode + Debug,

    Source§

    impl<T> CuMsgPayload for T
    where T: Default + Debug + Clone + Encode + Decode,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/cu29/prelude/struct.CuMsgMetadata.html b/cu29/prelude/struct.CuMsgMetadata.html index 6da013bf0..d323be587 100644 --- a/cu29/prelude/struct.CuMsgMetadata.html +++ b/cu29/prelude/struct.CuMsgMetadata.html @@ -1,4 +1,4 @@ -CuMsgMetadata in cu29::prelude - Rust
    cu29::prelude

    Struct CuMsgMetadata

    Source
    pub struct CuMsgMetadata {
    +CuMsgMetadata in cu29::prelude - Rust
    cu29::prelude

    Struct CuMsgMetadata

    Source
    pub struct CuMsgMetadata {
         pub process_time: PartialCuTimeRange,
         pub tov: Tov,
         pub status_txt: CuCompactString,
    @@ -33,7 +33,7 @@
         T: Clone,
    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    Source§

    fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    Source§

    impl<T> CopperListTuple for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> CopperListTuple for T
    where T: Encode + Decode + Debug,

    Source§

    impl<T> CuMsgPayload for T
    where T: Default + Debug + Clone + Encode + Decode,

    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where diff --git a/cu29/prelude/struct.CuRuntime.html b/cu29/prelude/struct.CuRuntime.html index f082e6954..19784ca2c 100644 --- a/cu29/prelude/struct.CuRuntime.html +++ b/cu29/prelude/struct.CuRuntime.html @@ -1,4 +1,4 @@ -CuRuntime in cu29::prelude - Rust
    cu29::prelude

    Struct CuRuntime

    Source
    pub struct CuRuntime<CT, P, M, const NBCL: usize>
    where +CuRuntime in cu29::prelude - Rust
    cu29::prelude

    Struct CuRuntime

    Source
    pub struct CuRuntime<CT, P, M, const NBCL: usize>{
         pub tasks: CT,
    diff --git a/cu29/prelude/struct.CuSimSinkTask.html b/cu29/prelude/struct.CuSimSinkTask.html
    index 9abf01634..cd51067db 100644
    --- a/cu29/prelude/struct.CuSimSinkTask.html
    +++ b/cu29/prelude/struct.CuSimSinkTask.html
    @@ -1,4 +1,4 @@
    -CuSimSinkTask in cu29::prelude - Rust
    cu29::prelude

    Struct CuSimSinkTask

    Source
    pub struct CuSimSinkTask<T> { /* private fields */ }
    Expand description

    This is a placeholder task for a sink task for the simulations. +CuSimSinkTask in cu29::prelude - Rust

    cu29::prelude

    Struct CuSimSinkTask

    Source
    pub struct CuSimSinkTask<T> { /* private fields */ }
    Expand description

    This is a placeholder task for a sink task for the simulations. It basically does nothing in place of a real driver so it won’t try to initialize any hardware.

    Trait Implementations§

    Source§

    impl<'cl, T> CuSinkTask<'cl> for CuSimSinkTask<T>
    where T: CuMsgPayload + 'cl,

    Source§

    type Input = &'cl CuMsg<T>

    Source§

    fn new(_config: Option<&ComponentConfig>) -> Result<CuSimSinkTask<T>, CuError>
    where diff --git a/cu29/prelude/struct.CuSimSrcTask.html b/cu29/prelude/struct.CuSimSrcTask.html index be837db51..1360b615f 100644 --- a/cu29/prelude/struct.CuSimSrcTask.html +++ b/cu29/prelude/struct.CuSimSrcTask.html @@ -1,4 +1,4 @@ -CuSimSrcTask in cu29::prelude - Rust
    cu29::prelude

    Struct CuSimSrcTask

    Source
    pub struct CuSimSrcTask<T> { /* private fields */ }
    Expand description

    This is a placeholder task for a source task for the simulations. +CuSimSrcTask in cu29::prelude - Rust

    cu29::prelude

    Struct CuSimSrcTask

    Source
    pub struct CuSimSrcTask<T> { /* private fields */ }
    Expand description

    This is a placeholder task for a source task for the simulations. It basically does nothing in place of a real driver so it won’t try to initialize any hardware.

    Trait Implementations§

    Source§

    impl<'cl, T> CuSrcTask<'cl> for CuSimSrcTask<T>
    where T: CuMsgPayload + 'cl,

    Source§

    type Output = &'cl mut CuMsg<T>

    Source§

    fn new(_config: Option<&ComponentConfig>) -> Result<CuSimSrcTask<T>, CuError>
    where diff --git a/cu29/prelude/struct.CuTimeRange.html b/cu29/prelude/struct.CuTimeRange.html index 376fb9631..d9bcf719b 100644 --- a/cu29/prelude/struct.CuTimeRange.html +++ b/cu29/prelude/struct.CuTimeRange.html @@ -1,21 +1,21 @@ -CuTimeRange in cu29::prelude - Rust
    cu29::prelude

    Struct CuTimeRange

    Source
    pub struct CuTimeRange {
    +CuTimeRange in cu29::prelude - Rust
    cu29::prelude

    Struct CuTimeRange

    pub struct CuTimeRange {
         pub start: CuDuration,
         pub end: CuDuration,
     }
    Expand description

    Represents a time range.

    -

    Fields§

    §start: CuDuration§end: CuDuration

    Trait Implementations§

    Source§

    impl<'__de> BorrowDecode<'__de> for CuTimeRange

    Source§

    fn borrow_decode<__D>(decoder: &mut __D) -> Result<CuTimeRange, DecodeError>
    where - __D: BorrowDecoder<'__de>,

    Attempt to decode this type with the given BorrowDecode.
    Source§

    impl Clone for CuTimeRange

    Source§

    fn clone(&self) -> CuTimeRange

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for CuTimeRange

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl Decode for CuTimeRange

    Source§

    fn decode<__D>(decoder: &mut __D) -> Result<CuTimeRange, DecodeError>
    where - __D: Decoder,

    Attempt to decode this type with the given Decode.
    Source§

    impl<'de> Deserialize<'de> for CuTimeRange

    Fields§

    §start: CuDuration§end: CuDuration

    Trait Implementations§

    §

    impl<'__de> BorrowDecode<'__de> for CuTimeRange

    §

    fn borrow_decode<__D>(decoder: &mut __D) -> Result<CuTimeRange, DecodeError>
    where + __D: BorrowDecoder<'__de>,

    Attempt to decode this type with the given BorrowDecode.
    §

    impl Clone for CuTimeRange

    §

    fn clone(&self) -> CuTimeRange

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for CuTimeRange

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Decode for CuTimeRange

    §

    fn decode<__D>(decoder: &mut __D) -> Result<CuTimeRange, DecodeError>
    where + __D: Decoder,

    Attempt to decode this type with the given Decode.
    §

    impl<'de> Deserialize<'de> for CuTimeRange

    §

    fn deserialize<__D>( __deserializer: __D, ) -> Result<CuTimeRange, <__D as Deserializer<'de>>::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Encode for CuTimeRange

    Source§

    fn encode<__E>(&self, encoder: &mut __E) -> Result<(), EncodeError>
    where - __E: Encoder,

    Encode a given type.
    Source§

    impl From<&[CuDuration]> for CuTimeRange

    Builds a time range from a slice of CuTime. + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Encode for CuTimeRange

    §

    fn encode<__E>(&self, encoder: &mut __E) -> Result<(), EncodeError>
    where + __E: Encoder,

    Encode a given type.
    §

    impl From<&[CuDuration]> for CuTimeRange

    Builds a time range from a slice of CuTime. This is an O(n) operation.

    -
    Source§

    fn from(slice: &[CuDuration]) -> CuTimeRange

    Converts to this type from the input type.
    Source§

    impl PartialEq for CuTimeRange

    Source§

    fn eq(&self, other: &CuTimeRange) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    Source§

    impl Serialize for CuTimeRange

    §

    fn from(slice: &[CuDuration]) -> CuTimeRange

    Converts to this type from the input type.
    §

    impl PartialEq for CuTimeRange

    §

    fn eq(&self, other: &CuTimeRange) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    §

    impl Serialize for CuTimeRange

    §

    fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    Source§

    impl Copy for CuTimeRange

    Source§

    impl StructuralPartialEq for CuTimeRange

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl Copy for CuTimeRange

    §

    impl StructuralPartialEq for CuTimeRange

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where @@ -28,7 +28,7 @@

    Source§

    impl<T> ToOwned for T
    where T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    Source§

    impl<T> CopperListTuple for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> CopperListTuple for T
    where T: Encode + Decode + Debug,

    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/cu29/prelude/struct.Instant.html b/cu29/prelude/struct.Instant.html index b55ded316..338cd7a02 100644 --- a/cu29/prelude/struct.Instant.html +++ b/cu29/prelude/struct.Instant.html @@ -1,4 +1,4 @@ -Instant in cu29::prelude - Rust
    cu29::prelude

    Struct Instant

    pub struct Instant(/* private fields */);
    Expand description

    A point-in-time wall-clock measurement.

    +Instant in cu29::prelude - Rust
    cu29::prelude

    Struct Instant

    pub struct Instant(/* private fields */);
    Expand description

    A point-in-time wall-clock measurement.

    Mimics most of the functionality of std::time::Instant but provides an additional method for using the “recent time” feature of quanta.

    §Monotonicity

    diff --git a/cu29/prelude/struct.LiveStatistics.html b/cu29/prelude/struct.LiveStatistics.html index 7481c02c3..fb367ca91 100644 --- a/cu29/prelude/struct.LiveStatistics.html +++ b/cu29/prelude/struct.LiveStatistics.html @@ -1,4 +1,4 @@ -LiveStatistics in cu29::prelude - Rust
    cu29::prelude

    Struct LiveStatistics

    Source
    pub struct LiveStatistics { /* private fields */ }
    Expand description

    Accumulative stat object that can give your some real time statistics.

    +LiveStatistics in cu29::prelude - Rust
    cu29::prelude

    Struct LiveStatistics

    Source
    pub struct LiveStatistics { /* private fields */ }
    Expand description

    Accumulative stat object that can give your some real time statistics.

    Implementations§

    Source§

    impl LiveStatistics

    Source

    pub fn new_unbounded() -> LiveStatistics

    Source

    pub fn new_with_max(max: u64) -> LiveStatistics

    Source

    pub fn min(&self) -> u64

    Source

    pub fn max(&self) -> u64

    Source

    pub fn mean(&self) -> f64

    Source

    pub fn percentile(&self, percentile: f64) -> u64

    Source

    pub fn record(&mut self, value: u64)

    Adds a value to the statistics.

    Source

    pub fn len(&self) -> u64

    Source

    pub fn is_empty(&self) -> bool

    Source

    pub fn reset(&mut self)

    Trait Implementations§

    Source§

    impl Clone for LiveStatistics

    Source§

    fn clone(&self) -> LiveStatistics

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for LiveStatistics

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where diff --git a/cu29/prelude/struct.LoggerRuntime.html b/cu29/prelude/struct.LoggerRuntime.html index f6bb50c43..1a659e7ce 100644 --- a/cu29/prelude/struct.LoggerRuntime.html +++ b/cu29/prelude/struct.LoggerRuntime.html @@ -1,11 +1,11 @@ -LoggerRuntime in cu29::prelude - Rust
    cu29::prelude

    Struct LoggerRuntime

    Source
    pub struct LoggerRuntime {}
    Expand description

    The lifetime of this struct is the lifetime of the logger.

    -

    Implementations§

    Source§

    impl LoggerRuntime

    Source

    pub fn init( +LoggerRuntime in cu29::prelude - Rust
    cu29::prelude

    Struct LoggerRuntime

    pub struct LoggerRuntime {}
    Expand description

    The lifetime of this struct is the lifetime of the logger.

    +

    Implementations§

    §

    impl LoggerRuntime

    pub fn init( clock: RobotClock, destination: impl WriteStream<CuLogEntry> + 'static, extra_text_logger: Option<impl Log + 'static>, ) -> LoggerRuntime

    destination is the binary stream in which we will log the structured log. extra_text_logger is the logger that will log the text logs in real time. This is slow and only for debug builds.

    -
    Source

    pub fn flush(&self)

    Trait Implementations§

    Source§

    impl Drop for LoggerRuntime

    Source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

    pub fn flush(&self)

    Trait Implementations§

    §

    impl Drop for LoggerRuntime

    §

    fn drop(&mut self)

    Executes the destructor for this type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/cu29/prelude/struct.LoggingConfig.html b/cu29/prelude/struct.LoggingConfig.html index c4de1c656..1c8059acf 100644 --- a/cu29/prelude/struct.LoggingConfig.html +++ b/cu29/prelude/struct.LoggingConfig.html @@ -1,4 +1,4 @@ -LoggingConfig in cu29::prelude - Rust
    cu29::prelude

    Struct LoggingConfig

    Source
    pub struct LoggingConfig {
    +LoggingConfig in cu29::prelude - Rust
    cu29::prelude

    Struct LoggingConfig

    Source
    pub struct LoggingConfig {
         pub slab_size_mib: Option<u64>,
         pub section_size_mib: Option<u64>,
         pub enable_task_logging: bool,
    diff --git a/cu29/prelude/struct.MonitorConfig.html b/cu29/prelude/struct.MonitorConfig.html
    index 30a21d6b3..1b11e31b2 100644
    --- a/cu29/prelude/struct.MonitorConfig.html
    +++ b/cu29/prelude/struct.MonitorConfig.html
    @@ -1,4 +1,4 @@
    -MonitorConfig in cu29::prelude - Rust
    cu29::prelude

    Struct MonitorConfig

    Source
    pub struct MonitorConfig { /* private fields */ }

    Implementations§

    Trait Implementations§

    Source§

    impl Clone for MonitorConfig

    Source§

    fn clone(&self) -> MonitorConfig

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for MonitorConfig

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl Default for MonitorConfig

    Source§

    fn default() -> MonitorConfig

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for MonitorConfig

    Source§

    fn deserialize<__D>( +MonitorConfig in cu29::prelude - Rust
    cu29::prelude

    Struct MonitorConfig

    Source
    pub struct MonitorConfig { /* private fields */ }

    Implementations§

    Trait Implementations§

    Source§

    impl Clone for MonitorConfig

    Source§

    fn clone(&self) -> MonitorConfig

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for MonitorConfig

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl Default for MonitorConfig

    Source§

    fn default() -> MonitorConfig

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for MonitorConfig

    Source§

    fn deserialize<__D>( __deserializer: __D, ) -> Result<MonitorConfig, <__D as Deserializer<'de>>::Error>
    where __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for MonitorConfig

    Source§

    fn serialize<__S>( diff --git a/cu29/prelude/struct.NoMonitor.html b/cu29/prelude/struct.NoMonitor.html index 446109df7..53608abdc 100644 --- a/cu29/prelude/struct.NoMonitor.html +++ b/cu29/prelude/struct.NoMonitor.html @@ -1,4 +1,4 @@ -NoMonitor in cu29::prelude - Rust
    cu29::prelude

    Struct NoMonitor

    Source
    pub struct NoMonitor {}
    Expand description

    A do nothing monitor if no monitor is provided. +NoMonitor in cu29::prelude - Rust

    cu29::prelude

    Struct NoMonitor

    Source
    pub struct NoMonitor {}
    Expand description

    A do nothing monitor if no monitor is provided. This is basically defining the default behavior of Copper in case of error.

    Trait Implementations§

    Source§

    impl CuMonitor for NoMonitor

    Source§

    fn new( _config: &CuConfig, diff --git a/cu29/prelude/struct.Node.html b/cu29/prelude/struct.Node.html index 32854f86f..16337bb63 100644 --- a/cu29/prelude/struct.Node.html +++ b/cu29/prelude/struct.Node.html @@ -1,4 +1,4 @@ -Node in cu29::prelude - Rust
    cu29::prelude

    Struct Node

    Source
    pub struct Node { /* private fields */ }
    Expand description

    A node in the configuration graph. +Node in cu29::prelude - Rust

    cu29::prelude

    Struct Node

    Source
    pub struct Node { /* private fields */ }
    Expand description

    A node in the configuration graph. A node represents a Task in the system Graph.

    Implementations§

    Source§

    impl Node

    Source

    pub fn new(id: &str, ptype: &str) -> Node

    Source

    pub fn get_id(&self) -> String

    Source

    pub fn set_type(self, name: Option<String>) -> Node

    Source

    pub fn get_type(&self) -> &str

    Source

    pub fn get_instance_config(&self) -> Option<&ComponentConfig>

    Source

    pub fn get_param<T>(&self, key: &str) -> Option<T>
    where T: From<Value>,

    Source

    pub fn set_param<T>(&mut self, key: &str, value: T)
    where diff --git a/cu29/prelude/struct.NullLog.html b/cu29/prelude/struct.NullLog.html index b73e87758..56edd0410 100644 --- a/cu29/prelude/struct.NullLog.html +++ b/cu29/prelude/struct.NullLog.html @@ -1,5 +1,5 @@ -NullLog in cu29::prelude - Rust
    cu29::prelude

    Struct NullLog

    Source
    pub struct NullLog;

    Trait Implementations§

    Source§

    impl Log for NullLog

    Source§

    fn enabled(&self, _metadata: &Metadata<'_>) -> bool

    Determines if a log message with the specified metadata would be -logged. Read more
    Source§

    fn log(&self, _record: &Record<'_>)

    Logs the Record. Read more
    Source§

    fn flush(&self)

    Flushes any buffered records. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +NullLog in cu29::prelude - Rust
    cu29::prelude

    Struct NullLog

    pub struct NullLog;

    Trait Implementations§

    §

    impl Log for NullLog

    §

    fn enabled(&self, _metadata: &Metadata<'_>) -> bool

    Determines if a log message with the specified metadata would be +logged. Read more
    §

    fn log(&self, _record: &Record<'_>)

    Logs the Record. Read more
    §

    fn flush(&self)

    Flushes any buffered records. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/cu29/prelude/struct.OptionCuTime.html b/cu29/prelude/struct.OptionCuTime.html index 887daad3e..33ef759b8 100644 --- a/cu29/prelude/struct.OptionCuTime.html +++ b/cu29/prelude/struct.OptionCuTime.html @@ -1,16 +1,16 @@ -OptionCuTime in cu29::prelude - Rust
    cu29::prelude

    Struct OptionCuTime

    Source
    pub struct OptionCuTime(/* private fields */);
    Expand description

    Homebrewed Option<CuDuration> to avoid using 128bits just to represent an Option.

    -

    Implementations§

    Trait Implementations§

    Source§

    impl<'__de> BorrowDecode<'__de> for OptionCuTime

    Source§

    fn borrow_decode<__D>(decoder: &mut __D) -> Result<OptionCuTime, DecodeError>
    where - __D: BorrowDecoder<'__de>,

    Attempt to decode this type with the given BorrowDecode.
    Source§

    impl Clone for OptionCuTime

    Source§

    fn clone(&self) -> OptionCuTime

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for OptionCuTime

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl Decode for OptionCuTime

    Source§

    fn decode<__D>(decoder: &mut __D) -> Result<OptionCuTime, DecodeError>
    where - __D: Decoder,

    Attempt to decode this type with the given Decode.
    Source§

    impl Default for OptionCuTime

    Source§

    fn default() -> OptionCuTime

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for OptionCuTime

    Source§

    fn deserialize<__D>( +OptionCuTime in cu29::prelude - Rust
    cu29::prelude

    Struct OptionCuTime

    pub struct OptionCuTime(/* private fields */);
    Expand description

    Homebrewed Option<CuDuration> to avoid using 128bits just to represent an Option.

    +

    Implementations§

    §

    impl OptionCuTime

    pub fn is_none(&self) -> bool

    pub fn none() -> OptionCuTime

    pub fn unwrap(self) -> CuDuration

    Trait Implementations§

    §

    impl<'__de> BorrowDecode<'__de> for OptionCuTime

    §

    fn borrow_decode<__D>(decoder: &mut __D) -> Result<OptionCuTime, DecodeError>
    where + __D: BorrowDecoder<'__de>,

    Attempt to decode this type with the given BorrowDecode.
    §

    impl Clone for OptionCuTime

    §

    fn clone(&self) -> OptionCuTime

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for OptionCuTime

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Decode for OptionCuTime

    §

    fn decode<__D>(decoder: &mut __D) -> Result<OptionCuTime, DecodeError>
    where + __D: Decoder,

    Attempt to decode this type with the given Decode.
    §

    impl Default for OptionCuTime

    §

    fn default() -> OptionCuTime

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for OptionCuTime

    §

    fn deserialize<__D>( __deserializer: __D, ) -> Result<OptionCuTime, <__D as Deserializer<'de>>::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Display for OptionCuTime

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl Encode for OptionCuTime

    Source§

    fn encode<__E>(&self, encoder: &mut __E) -> Result<(), EncodeError>
    where - __E: Encoder,

    Encode a given type.
    Source§

    impl From<CuDuration> for OptionCuTime

    Source§

    fn from(val: CuDuration) -> OptionCuTime

    Converts to this type from the input type.
    Source§

    impl From<Option<CuDuration>> for OptionCuTime

    Source§

    fn from(duration: Option<CuDuration>) -> OptionCuTime

    Converts to this type from the input type.
    Source§

    impl PartialEq for OptionCuTime

    Source§

    fn eq(&self, other: &OptionCuTime) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    Source§

    impl Serialize for OptionCuTime

    Source§

    fn serialize<__S>( + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Display for OptionCuTime

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Encode for OptionCuTime

    §

    fn encode<__E>(&self, encoder: &mut __E) -> Result<(), EncodeError>
    where + __E: Encoder,

    Encode a given type.
    §

    impl From<CuDuration> for OptionCuTime

    §

    fn from(val: CuDuration) -> OptionCuTime

    Converts to this type from the input type.
    §

    impl From<Option<CuDuration>> for OptionCuTime

    §

    fn from(duration: Option<CuDuration>) -> OptionCuTime

    Converts to this type from the input type.
    §

    impl PartialEq for OptionCuTime

    §

    fn eq(&self, other: &OptionCuTime) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    §

    impl Serialize for OptionCuTime

    §

    fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    Source§

    impl Copy for OptionCuTime

    Source§

    impl StructuralPartialEq for OptionCuTime

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl Copy for OptionCuTime

    §

    impl StructuralPartialEq for OptionCuTime

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where @@ -25,7 +25,7 @@ T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    Source§

    fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    Source§

    impl<T> CopperListTuple for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> CopperListTuple for T
    where T: Encode + Decode + Debug,

    Source§

    impl<T> CuMsgPayload for T
    where T: Default + Debug + Clone + Encode + Decode,

    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    Source§

    impl<T> ElementType for T
    where diff --git a/cu29/prelude/struct.OwningIoWriter.html b/cu29/prelude/struct.OwningIoWriter.html index e21294da4..107f3ef51 100644 --- a/cu29/prelude/struct.OwningIoWriter.html +++ b/cu29/prelude/struct.OwningIoWriter.html @@ -1,7 +1,7 @@ -OwningIoWriter in cu29::prelude - Rust
    cu29::prelude

    Struct OwningIoWriter

    Source
    pub struct OwningIoWriter<W>
    where - W: Write,
    { /* private fields */ }

    Implementations§

    Source§

    impl<W> OwningIoWriter<W>
    where - W: Write,

    Source

    pub fn new(writer: W) -> OwningIoWriter<W>

    Source

    pub fn bytes_written(&self) -> usize

    Source

    pub fn flush(&mut self) -> Result<(), EncodeError>

    Trait Implementations§

    Source§

    impl<W> Writer for OwningIoWriter<W>
    where - W: Write,

    Source§

    fn write(&mut self, bytes: &[u8]) -> Result<(), EncodeError>

    Write bytes to the underlying writer. Exactly bytes.len() bytes must be written, or else an error should be returned.

    Auto Trait Implementations§

    §

    impl<W> Freeze for OwningIoWriter<W>
    where +OwningIoWriter in cu29::prelude - Rust
    cu29::prelude

    Struct OwningIoWriter

    pub struct OwningIoWriter<W>
    where + W: Write,
    { /* private fields */ }

    Implementations§

    §

    impl<W> OwningIoWriter<W>
    where + W: Write,

    pub fn new(writer: W) -> OwningIoWriter<W>

    pub fn bytes_written(&self) -> usize

    pub fn flush(&mut self) -> Result<(), EncodeError>

    Trait Implementations§

    §

    impl<W> Writer for OwningIoWriter<W>
    where + W: Write,

    §

    fn write(&mut self, bytes: &[u8]) -> Result<(), EncodeError>

    Write bytes to the underlying writer. Exactly bytes.len() bytes must be written, or else an error should be returned.

    Auto Trait Implementations§

    §

    impl<W> Freeze for OwningIoWriter<W>
    where W: Freeze,

    §

    impl<W> RefUnwindSafe for OwningIoWriter<W>
    where W: RefUnwindSafe,

    §

    impl<W> Send for OwningIoWriter<W>
    where W: Send,

    §

    impl<W> Sync for OwningIoWriter<W>
    where diff --git a/cu29/prelude/struct.PartialCuTimeRange.html b/cu29/prelude/struct.PartialCuTimeRange.html index 7f974fcae..08d50857a 100644 --- a/cu29/prelude/struct.PartialCuTimeRange.html +++ b/cu29/prelude/struct.PartialCuTimeRange.html @@ -1,20 +1,20 @@ -PartialCuTimeRange in cu29::prelude - Rust
    cu29::prelude

    Struct PartialCuTimeRange

    Source
    pub struct PartialCuTimeRange {
    +PartialCuTimeRange in cu29::prelude - Rust
    cu29::prelude

    Struct PartialCuTimeRange

    pub struct PartialCuTimeRange {
         pub start: OptionCuTime,
         pub end: OptionCuTime,
     }
    Expand description

    Represents a time range with possible undefined start or end or both.

    -

    Fields§

    §start: OptionCuTime§end: OptionCuTime

    Trait Implementations§

    Source§

    impl<'__de> BorrowDecode<'__de> for PartialCuTimeRange

    Fields§

    §start: OptionCuTime§end: OptionCuTime

    Trait Implementations§

    §

    impl<'__de> BorrowDecode<'__de> for PartialCuTimeRange

    §

    fn borrow_decode<__D>( decoder: &mut __D, ) -> Result<PartialCuTimeRange, DecodeError>
    where - __D: BorrowDecoder<'__de>,

    Attempt to decode this type with the given BorrowDecode.
    Source§

    impl Clone for PartialCuTimeRange

    Source§

    fn clone(&self) -> PartialCuTimeRange

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for PartialCuTimeRange

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl Decode for PartialCuTimeRange

    Source§

    fn decode<__D>(decoder: &mut __D) -> Result<PartialCuTimeRange, DecodeError>
    where - __D: Decoder,

    Attempt to decode this type with the given Decode.
    Source§

    impl Default for PartialCuTimeRange

    Source§

    fn default() -> PartialCuTimeRange

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for PartialCuTimeRange

    Source§

    fn deserialize<__D>( + __D: BorrowDecoder<'__de>,

    Attempt to decode this type with the given BorrowDecode.
    §

    impl Clone for PartialCuTimeRange

    §

    fn clone(&self) -> PartialCuTimeRange

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for PartialCuTimeRange

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Decode for PartialCuTimeRange

    §

    fn decode<__D>(decoder: &mut __D) -> Result<PartialCuTimeRange, DecodeError>
    where + __D: Decoder,

    Attempt to decode this type with the given Decode.
    §

    impl Default for PartialCuTimeRange

    §

    fn default() -> PartialCuTimeRange

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for PartialCuTimeRange

    §

    fn deserialize<__D>( __deserializer: __D, ) -> Result<PartialCuTimeRange, <__D as Deserializer<'de>>::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Encode for PartialCuTimeRange

    Source§

    fn encode<__E>(&self, encoder: &mut __E) -> Result<(), EncodeError>
    where - __E: Encoder,

    Encode a given type.
    Source§

    impl Serialize for PartialCuTimeRange

    Source§

    fn serialize<__S>( + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Encode for PartialCuTimeRange

    §

    fn encode<__E>(&self, encoder: &mut __E) -> Result<(), EncodeError>
    where + __E: Encoder,

    Encode a given type.
    §

    impl Serialize for PartialCuTimeRange

    §

    fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    Source§

    impl Copy for PartialCuTimeRange

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl Copy for PartialCuTimeRange

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where @@ -27,7 +27,7 @@

    Source§

    impl<T> ToOwned for T
    where T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    Source§

    impl<T> CopperListTuple for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> CopperListTuple for T
    where T: Encode + Decode + Debug,

    Source§

    impl<T> CuMsgPayload for T
    where T: Default + Debug + Clone + Encode + Decode,

    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    Source§

    impl<T> ElementType for T
    where diff --git a/cu29/prelude/struct.RobotClock.html b/cu29/prelude/struct.RobotClock.html index 7e1a9345a..8b098408f 100644 --- a/cu29/prelude/struct.RobotClock.html +++ b/cu29/prelude/struct.RobotClock.html @@ -1,12 +1,12 @@ -RobotClock in cu29::prelude - Rust
    cu29::prelude

    Struct RobotClock

    Source
    pub struct RobotClock { /* private fields */ }
    Expand description

    A running Robot clock. +RobotClock in cu29::prelude - Rust

    cu29::prelude

    Struct RobotClock

    pub struct RobotClock { /* private fields */ }
    Expand description

    A running Robot clock. The clock is a monotonic clock that starts at an arbitrary reference time. It is clone resilient, ie a clone will be the same clock, even when mocked.

    -

    Implementations§

    Source§

    impl RobotClock

    Source

    pub fn new() -> RobotClock

    Creates a RobotClock using now as its reference time. +

    Implementations§

    §

    impl RobotClock

    pub fn new() -> RobotClock

    Creates a RobotClock using now as its reference time. It will start a 0ns incrementing monotonically.

    -
    Source

    pub fn from_ref_time(ref_time_ns: u64) -> RobotClock

    Builds a monotonic clock starting at the given reference time.

    -
    Source

    pub fn mock() -> (RobotClock, RobotClockMock)

    Build a fake clock with a reference time of 0. +

    pub fn from_ref_time(ref_time_ns: u64) -> RobotClock

    Builds a monotonic clock starting at the given reference time.

    +

    pub fn mock() -> (RobotClock, RobotClockMock)

    Build a fake clock with a reference time of 0. The RobotMock interface enables you to control all the clones of the clock given.

    -
    Source

    pub fn now(&self) -> CuDuration

    Source

    pub fn recent(&self) -> CuDuration

    Trait Implementations§

    Source§

    impl Clone for RobotClock

    Source§

    fn clone(&self) -> RobotClock

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for RobotClock

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl Default for RobotClock

    Source§

    fn default() -> RobotClock

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

    pub fn now(&self) -> CuDuration

    pub fn recent(&self) -> CuDuration

    Trait Implementations§

    §

    impl Clone for RobotClock

    §

    fn clone(&self) -> RobotClock

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for RobotClock

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for RobotClock

    §

    fn default() -> RobotClock

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where diff --git a/cu29/prelude/struct.RobotClockMock.html b/cu29/prelude/struct.RobotClockMock.html index e6d0d31df..db5b7033a 100644 --- a/cu29/prelude/struct.RobotClockMock.html +++ b/cu29/prelude/struct.RobotClockMock.html @@ -1,10 +1,10 @@ -RobotClockMock in cu29::prelude - Rust
    cu29::prelude

    Struct RobotClockMock

    Source
    pub struct RobotClockMock(/* private fields */);
    Expand description

    A mock clock that can be controlled by the user.

    -

    Implementations§

    Source§

    impl RobotClockMock

    Source

    pub fn increment(&self, amount: Duration)

    Source

    pub fn decrement(&self, amount: Duration)

    Decrements the time by the given amount. +RobotClockMock in cu29::prelude - Rust

    cu29::prelude

    Struct RobotClockMock

    pub struct RobotClockMock(/* private fields */);
    Expand description

    A mock clock that can be controlled by the user.

    +

    Implementations§

    §

    impl RobotClockMock

    pub fn increment(&self, amount: Duration)

    pub fn decrement(&self, amount: Duration)

    Decrements the time by the given amount. Be careful this brakes the monotonicity of the clock.

    -
    Source

    pub fn value(&self) -> u64

    Gets the current value of time.

    -
    Source

    pub fn now(&self) -> CuDuration

    A convenient way to get the current time from the mocking side.

    -
    Source

    pub fn set_value(&self, value: u64)

    Sets the absolute value of the time.

    -

    Trait Implementations§

    Source§

    impl Clone for RobotClockMock

    Source§

    fn clone(&self) -> RobotClockMock

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for RobotClockMock

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

    pub fn value(&self) -> u64

    Gets the current value of time.

    +

    pub fn now(&self) -> CuDuration

    A convenient way to get the current time from the mocking side.

    +

    pub fn set_value(&self, value: u64)

    Sets the absolute value of the time.

    +

    Trait Implementations§

    §

    impl Clone for RobotClockMock

    §

    fn clone(&self) -> RobotClockMock

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for RobotClockMock

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where diff --git a/cu29/prelude/struct.ScopedAllocCounter.html b/cu29/prelude/struct.ScopedAllocCounter.html index 6bd79203a..c739f704e 100644 --- a/cu29/prelude/struct.ScopedAllocCounter.html +++ b/cu29/prelude/struct.ScopedAllocCounter.html @@ -1,4 +1,4 @@ -ScopedAllocCounter in cu29::prelude - Rust
    cu29::prelude

    Struct ScopedAllocCounter

    Source
    pub struct ScopedAllocCounter { /* private fields */ }
    Expand description

    A simple struct that counts the number of bytes allocated and deallocated in a scope.

    +ScopedAllocCounter in cu29::prelude - Rust
    cu29::prelude

    Struct ScopedAllocCounter

    Source
    pub struct ScopedAllocCounter { /* private fields */ }
    Expand description

    A simple struct that counts the number of bytes allocated and deallocated in a scope.

    Implementations§

    Source§

    impl ScopedAllocCounter

    Source

    pub fn new() -> ScopedAllocCounter

    Source

    pub fn get_allocated(&self) -> usize

    Returns the total number of bytes allocated in the current scope since the creation of this ScopedAllocCounter.

    §Example
    diff --git a/cu29/prelude/struct.SectionHandle.html b/cu29/prelude/struct.SectionHandle.html index 403ddf91a..6e2701481 100644 --- a/cu29/prelude/struct.SectionHandle.html +++ b/cu29/prelude/struct.SectionHandle.html @@ -1,4 +1,4 @@ -SectionHandle in cu29::prelude - Rust
    cu29::prelude

    Struct SectionHandle

    Source
    pub struct SectionHandle { /* private fields */ }
    Expand description

    A SectionHandle is a handle to a section in the datalogger. +SectionHandle in cu29::prelude - Rust

    cu29::prelude

    Struct SectionHandle

    Source
    pub struct SectionHandle { /* private fields */ }
    Expand description

    A SectionHandle is a handle to a section in the datalogger. It allows to track the lifecycle of a section of the datalogger.

    Implementations§

    Source§

    impl SectionHandle

    Source

    pub fn create( section_header: SectionHeader, diff --git a/cu29/prelude/struct.SectionHeader.html b/cu29/prelude/struct.SectionHeader.html index 6bf465bbd..9799a92e1 100644 --- a/cu29/prelude/struct.SectionHeader.html +++ b/cu29/prelude/struct.SectionHeader.html @@ -1,4 +1,4 @@ -SectionHeader in cu29::prelude - Rust
    cu29::prelude

    Struct SectionHeader

    Source
    pub struct SectionHeader { /* private fields */ }
    Expand description

    Each concurrent sublogger is tracked through a section header. +SectionHeader in cu29::prelude - Rust

    cu29::prelude

    Struct SectionHeader

    Source
    pub struct SectionHeader { /* private fields */ }
    Expand description

    Each concurrent sublogger is tracked through a section header. They form a linked list of sections. The entry type is used to identify the type of data in the section.

    Trait Implementations§

    Source§

    impl<'__de> BorrowDecode<'__de> for SectionHeader

    Source§

    fn borrow_decode<__D>(decoder: &mut __D) -> Result<SectionHeader, DecodeError>
    where @@ -14,6 +14,6 @@ From<T> for U chooses to do.

    Source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    Source§

    impl<T> CopperListTuple for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> CopperListTuple for T
    where T: Encode + Decode + Debug,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/cu29/prelude/struct.SimpleFileWriter.html b/cu29/prelude/struct.SimpleFileWriter.html index 17410c88c..7528e6cf7 100644 --- a/cu29/prelude/struct.SimpleFileWriter.html +++ b/cu29/prelude/struct.SimpleFileWriter.html @@ -1,5 +1,5 @@ -SimpleFileWriter in cu29::prelude - Rust
    cu29::prelude

    Struct SimpleFileWriter

    Source
    pub struct SimpleFileWriter { /* private fields */ }
    Expand description

    This allows this crate to be used outside of Copper (ie. decoupling it from the unifiedlog.

    -

    Implementations§

    Trait Implementations§

    Source§

    impl Debug for SimpleFileWriter

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl WriteStream<CuLogEntry> for SimpleFileWriter

    Source§

    fn log(&mut self, obj: &CuLogEntry) -> Result<(), CuError>

    Source§

    fn flush(&mut self) -> Result<(), CuError>

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +SimpleFileWriter in cu29::prelude - Rust
    cu29::prelude

    Struct SimpleFileWriter

    pub struct SimpleFileWriter { /* private fields */ }
    Expand description

    This allows this crate to be used outside of Copper (ie. decoupling it from the unifiedlog.

    +

    Implementations§

    Trait Implementations§

    §

    impl Debug for SimpleFileWriter

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl WriteStream<CuLogEntry> for SimpleFileWriter

    §

    fn log(&mut self, obj: &CuLogEntry) -> Result<(), CuError>

    §

    fn flush(&mut self) -> Result<(), CuError>

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/cu29/prelude/struct.UnifiedLoggerBuilder.html b/cu29/prelude/struct.UnifiedLoggerBuilder.html index 923045892..895578e26 100644 --- a/cu29/prelude/struct.UnifiedLoggerBuilder.html +++ b/cu29/prelude/struct.UnifiedLoggerBuilder.html @@ -1,4 +1,4 @@ -UnifiedLoggerBuilder in cu29::prelude - Rust
    cu29::prelude

    Struct UnifiedLoggerBuilder

    Source
    pub struct UnifiedLoggerBuilder { /* private fields */ }
    Expand description

    Use this builder to create a new DataLogger.

    +UnifiedLoggerBuilder in cu29::prelude - Rust
    cu29::prelude

    Struct UnifiedLoggerBuilder

    Source
    pub struct UnifiedLoggerBuilder { /* private fields */ }
    Expand description

    Use this builder to create a new DataLogger.

    Implementations§

    Source§

    impl UnifiedLoggerBuilder

    Source

    pub fn new() -> UnifiedLoggerBuilder

    Source

    pub fn file_base_name(self, file_path: &Path) -> UnifiedLoggerBuilder

    If “something/toto.copper” is given, it will find or create “something/toto_0.copper”, “something/toto_1.copper” etc.

    Source

    pub fn preallocated_size(self, preallocated_size: usize) -> UnifiedLoggerBuilder

    Source

    pub fn write(self, write: bool) -> UnifiedLoggerBuilder

    Source

    pub fn create(self, create: bool) -> UnifiedLoggerBuilder

    Source

    pub fn build(self) -> Result<UnifiedLogger, Error>

    Trait Implementations§

    Source§

    impl Default for UnifiedLoggerBuilder

    Source§

    fn default() -> UnifiedLoggerBuilder

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where diff --git a/cu29/prelude/struct.UnifiedLoggerIOReader.html b/cu29/prelude/struct.UnifiedLoggerIOReader.html index 594650c9b..12c2f1251 100644 --- a/cu29/prelude/struct.UnifiedLoggerIOReader.html +++ b/cu29/prelude/struct.UnifiedLoggerIOReader.html @@ -1,4 +1,4 @@ -UnifiedLoggerIOReader in cu29::prelude - Rust
    cu29::prelude

    Struct UnifiedLoggerIOReader

    Source
    pub struct UnifiedLoggerIOReader { /* private fields */ }
    Expand description

    This a convenience wrapper around the UnifiedLoggerRead to implement the Read trait.

    +UnifiedLoggerIOReader in cu29::prelude - Rust
    cu29::prelude

    Struct UnifiedLoggerIOReader

    Source
    pub struct UnifiedLoggerIOReader { /* private fields */ }
    Expand description

    This a convenience wrapper around the UnifiedLoggerRead to implement the Read trait.

    Implementations§

    Source§

    impl UnifiedLoggerIOReader

    Source

    pub fn new( logger: UnifiedLoggerRead, log_type: UnifiedLogType, diff --git a/cu29/prelude/struct.UnifiedLoggerRead.html b/cu29/prelude/struct.UnifiedLoggerRead.html index 5d2bd334d..52d4c3531 100644 --- a/cu29/prelude/struct.UnifiedLoggerRead.html +++ b/cu29/prelude/struct.UnifiedLoggerRead.html @@ -1,4 +1,4 @@ -UnifiedLoggerRead in cu29::prelude - Rust
    cu29::prelude

    Struct UnifiedLoggerRead

    Source
    pub struct UnifiedLoggerRead { /* private fields */ }
    Expand description

    A read side of the datalogger.

    +UnifiedLoggerRead in cu29::prelude - Rust
    cu29::prelude

    Struct UnifiedLoggerRead

    Source
    pub struct UnifiedLoggerRead { /* private fields */ }
    Expand description

    A read side of the datalogger.

    Implementations§

    Source§

    impl UnifiedLoggerRead

    Source

    pub fn new(base_file_path: &Path) -> Result<UnifiedLoggerRead, Error>

    Source

    pub fn read_next_section_type( &mut self, datalogtype: UnifiedLogType, diff --git a/cu29/prelude/struct.UnifiedLoggerWrite.html b/cu29/prelude/struct.UnifiedLoggerWrite.html index 09d1edd61..f031d93ab 100644 --- a/cu29/prelude/struct.UnifiedLoggerWrite.html +++ b/cu29/prelude/struct.UnifiedLoggerWrite.html @@ -1,4 +1,4 @@ -UnifiedLoggerWrite in cu29::prelude - Rust
    cu29::prelude

    Struct UnifiedLoggerWrite

    Source
    pub struct UnifiedLoggerWrite { /* private fields */ }
    Expand description

    A write side of the datalogger.

    +UnifiedLoggerWrite in cu29::prelude - Rust
    cu29::prelude

    Struct UnifiedLoggerWrite

    Source
    pub struct UnifiedLoggerWrite { /* private fields */ }
    Expand description

    A write side of the datalogger.

    Implementations§

    Source§

    impl UnifiedLoggerWrite

    Source

    pub fn flush_section(&mut self, section: &mut SectionHandle)

    Source

    pub fn stats(&self) -> (usize, Vec<usize>, usize)

    Trait Implementations§

    Source§

    impl Drop for UnifiedLoggerWrite

    Source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where diff --git a/cu29/prelude/trait.ArrayLike.html b/cu29/prelude/trait.ArrayLike.html index 94d89080b..ba316efb7 100644 --- a/cu29/prelude/trait.ArrayLike.html +++ b/cu29/prelude/trait.ArrayLike.html @@ -1,4 +1,4 @@ -ArrayLike in cu29::prelude - Rust
    cu29::prelude

    Trait ArrayLike

    Source
    pub trait ArrayLike:
    +ArrayLike in cu29::prelude - Rust
    cu29::prelude

    Trait ArrayLike

    Source
    pub trait ArrayLike:
         Deref<Target = [Self::Element]>
         + DerefMut
         + Debug
    diff --git a/cu29/prelude/trait.ClockProvider.html b/cu29/prelude/trait.ClockProvider.html
    index ce2ce1dd0..589f1e602 100644
    --- a/cu29/prelude/trait.ClockProvider.html
    +++ b/cu29/prelude/trait.ClockProvider.html
    @@ -1,8 +1,8 @@
    -ClockProvider in cu29::prelude - Rust
    cu29::prelude

    Trait ClockProvider

    Source
    pub trait ClockProvider {
    +ClockProvider in cu29::prelude - Rust
    cu29::prelude

    Trait ClockProvider

    pub trait ClockProvider {
         // Required method
         fn get_clock(&self) -> RobotClock;
     }
    Expand description

    A trait to provide a clock to the runtime.

    -

    Required Methods§

    Implementors§

    Source§

    impl<CT, P, M, const NBCL: usize> ClockProvider for CuRuntime<CT, P, M, NBCL>
    where +

    Required Methods§

    fn get_clock(&self) -> RobotClock

    Implementors§

    Source§

    impl<CT, P, M, const NBCL: usize> ClockProvider for CuRuntime<CT, P, M, NBCL>

    To be able to share the clock we make the runtime a clock provider.

    \ No newline at end of file diff --git a/cu29/prelude/trait.CopperListTuple.html b/cu29/prelude/trait.CopperListTuple.html index e433b76bd..e4d25c610 100644 --- a/cu29/prelude/trait.CopperListTuple.html +++ b/cu29/prelude/trait.CopperListTuple.html @@ -1,7 +1,7 @@ -CopperListTuple in cu29::prelude - Rust
    cu29::prelude

    Trait CopperListTuple

    Source
    pub trait CopperListTuple:
    +CopperListTuple in cu29::prelude - Rust
    cu29::prelude

    Trait CopperListTuple

    pub trait CopperListTuple:
         Sized
         + Encode
         + Decode
         + Debug { }
    Expand description

    A CopperListTuple needs to be encodable, decodable and fixed size in memory.

    -

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    Source§

    impl<T> CopperListTuple for T
    where +

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    §

    impl<T> CopperListTuple for T
    where T: Encode + Decode + Debug,

    \ No newline at end of file diff --git a/cu29/prelude/trait.CuMonitor.html b/cu29/prelude/trait.CuMonitor.html index 2f7ed075f..a23ec7a75 100644 --- a/cu29/prelude/trait.CuMonitor.html +++ b/cu29/prelude/trait.CuMonitor.html @@ -1,4 +1,4 @@ -CuMonitor in cu29::prelude - Rust
    cu29::prelude

    Trait CuMonitor

    Source
    pub trait CuMonitor: Sized {
    +CuMonitor in cu29::prelude - Rust
    cu29::prelude

    Trait CuMonitor

    Source
    pub trait CuMonitor: Sized {
         // Required methods
         fn new(
             config: &CuConfig,
    diff --git a/cu29/prelude/trait.CuMsgPack.html b/cu29/prelude/trait.CuMsgPack.html
    index 488a665ab..59ef3aaad 100644
    --- a/cu29/prelude/trait.CuMsgPack.html
    +++ b/cu29/prelude/trait.CuMsgPack.html
    @@ -1,4 +1,4 @@
    -CuMsgPack in cu29::prelude - Rust
    cu29::prelude

    Trait CuMsgPack

    Source
    pub trait CuMsgPack<'cl> { }

    Implementations on Foreign Types§

    Source§

    impl CuMsgPack<'_> for ()

    Source§

    impl<'cl, T1, T2> CuMsgPack<'cl> for (&'cl CuMsg<T1>, &'cl CuMsg<T2>)
    where +CuMsgPack in cu29::prelude - Rust
    cu29::prelude

    Trait CuMsgPack

    Source
    pub trait CuMsgPack<'cl> { }

    Implementations on Foreign Types§

    Source§

    impl CuMsgPack<'_> for ()

    Source§

    impl<'cl, T1, T2> CuMsgPack<'cl> for (&'cl CuMsg<T1>, &'cl CuMsg<T2>)
    where T1: CuMsgPayload + 'cl, T2: CuMsgPayload + 'cl,

    Source§

    impl<'cl, T1, T2, T3> CuMsgPack<'cl> for (&'cl CuMsg<T1>, &'cl CuMsg<T2>, &'cl CuMsg<T3>)
    where T1: CuMsgPayload + 'cl, diff --git a/cu29/prelude/trait.CuMsgPayload.html b/cu29/prelude/trait.CuMsgPayload.html index 8945d87a4..332fb4a84 100644 --- a/cu29/prelude/trait.CuMsgPayload.html +++ b/cu29/prelude/trait.CuMsgPayload.html @@ -1,4 +1,4 @@ -CuMsgPayload in cu29::prelude - Rust
    cu29::prelude

    Trait CuMsgPayload

    Source
    pub trait CuMsgPayload:
    +CuMsgPayload in cu29::prelude - Rust
    cu29::prelude

    Trait CuMsgPayload

    Source
    pub trait CuMsgPayload:
         Sized
         + Default
         + Debug
    diff --git a/cu29/prelude/trait.CuPool.html b/cu29/prelude/trait.CuPool.html
    index 5a40198b9..9e742ac93 100644
    --- a/cu29/prelude/trait.CuPool.html
    +++ b/cu29/prelude/trait.CuPool.html
    @@ -1,4 +1,4 @@
    -CuPool in cu29::prelude - Rust
    cu29::prelude

    Trait CuPool

    Source
    pub trait CuPool<T>: PoolMonitor
    where +CuPool in cu29::prelude - Rust
    cu29::prelude

    Trait CuPool

    Source
    pub trait CuPool<T>: PoolMonitor
    where T: ArrayLike,
    { // Required methods fn acquire(&self) -> Option<CuHandle<T>>; diff --git a/cu29/prelude/trait.CuSinkTask.html b/cu29/prelude/trait.CuSinkTask.html index 60f063872..144d12ccf 100644 --- a/cu29/prelude/trait.CuSinkTask.html +++ b/cu29/prelude/trait.CuSinkTask.html @@ -1,4 +1,4 @@ -CuSinkTask in cu29::prelude - Rust
    cu29::prelude

    Trait CuSinkTask

    Source
    pub trait CuSinkTask<'cl>: Freezable {
    +CuSinkTask in cu29::prelude - Rust
    cu29::prelude

    Trait CuSinkTask

    Source
    pub trait CuSinkTask<'cl>: Freezable {
         type Input: CuMsgPack<'cl>;
     
         // Required methods
    diff --git a/cu29/prelude/trait.CuSrcTask.html b/cu29/prelude/trait.CuSrcTask.html
    index 93dc4762a..c350a23af 100644
    --- a/cu29/prelude/trait.CuSrcTask.html
    +++ b/cu29/prelude/trait.CuSrcTask.html
    @@ -1,4 +1,4 @@
    -CuSrcTask in cu29::prelude - Rust
    cu29::prelude

    Trait CuSrcTask

    Source
    pub trait CuSrcTask<'cl>: Freezable {
    +CuSrcTask in cu29::prelude - Rust
    cu29::prelude

    Trait CuSrcTask

    Source
    pub trait CuSrcTask<'cl>: Freezable {
         type Output: CuMsgPack<'cl>;
     
         // Required methods
    diff --git a/cu29/prelude/trait.CuTask.html b/cu29/prelude/trait.CuTask.html
    index 437595cd2..20361cb23 100644
    --- a/cu29/prelude/trait.CuTask.html
    +++ b/cu29/prelude/trait.CuTask.html
    @@ -1,4 +1,4 @@
    -CuTask in cu29::prelude - Rust
    cu29::prelude

    Trait CuTask

    Source
    pub trait CuTask<'cl>: Freezable {
    +CuTask in cu29::prelude - Rust
    cu29::prelude

    Trait CuTask

    Source
    pub trait CuTask<'cl>: Freezable {
         type Input: CuMsgPack<'cl>;
         type Output: CuMsgPack<'cl>;
     
    diff --git a/cu29/prelude/trait.DeviceCuPool.html b/cu29/prelude/trait.DeviceCuPool.html
    index 838cec89a..99250e578 100644
    --- a/cu29/prelude/trait.DeviceCuPool.html
    +++ b/cu29/prelude/trait.DeviceCuPool.html
    @@ -1,4 +1,4 @@
    -DeviceCuPool in cu29::prelude - Rust
    cu29::prelude

    Trait DeviceCuPool

    Source
    pub trait DeviceCuPool<T>: CuPool<T>
    where +DeviceCuPool in cu29::prelude - Rust
    cu29::prelude

    Trait DeviceCuPool

    Source
    pub trait DeviceCuPool<T>: CuPool<T>
    where T: ArrayLike,
    { // Required method fn copy_to_host_pool<O>( diff --git a/cu29/prelude/trait.ElementType.html b/cu29/prelude/trait.ElementType.html index 088e3e63a..45141255b 100644 --- a/cu29/prelude/trait.ElementType.html +++ b/cu29/prelude/trait.ElementType.html @@ -1,4 +1,4 @@ -ElementType in cu29::prelude - Rust
    cu29::prelude

    Trait ElementType

    Source
    pub trait ElementType:
    +ElementType in cu29::prelude - Rust
    cu29::prelude

    Trait ElementType

    Source
    pub trait ElementType:
         Sized
         + Default
         + Copy
    diff --git a/cu29/prelude/trait.Freezable.html b/cu29/prelude/trait.Freezable.html
    index 2f65e8658..4a12e5e3e 100644
    --- a/cu29/prelude/trait.Freezable.html
    +++ b/cu29/prelude/trait.Freezable.html
    @@ -1,4 +1,4 @@
    -Freezable in cu29::prelude - Rust
    cu29::prelude

    Trait Freezable

    Source
    pub trait Freezable {
    +Freezable in cu29::prelude - Rust
    cu29::prelude

    Trait Freezable

    Source
    pub trait Freezable {
         // Provided methods
         fn freeze<E>(&self, encoder: &mut E) -> Result<(), EncodeError>
            where E: Encoder { ... }
    diff --git a/cu29/prelude/trait.PoolMonitor.html b/cu29/prelude/trait.PoolMonitor.html
    index f44f96ecb..636352e11 100644
    --- a/cu29/prelude/trait.PoolMonitor.html
    +++ b/cu29/prelude/trait.PoolMonitor.html
    @@ -1,4 +1,4 @@
    -PoolMonitor in cu29::prelude - Rust
    cu29::prelude

    Trait PoolMonitor

    Source
    pub trait PoolMonitor: Send + Sync {
    +PoolMonitor in cu29::prelude - Rust
    cu29::prelude

    Trait PoolMonitor

    Source
    pub trait PoolMonitor: Send + Sync {
         // Required methods
         fn id(&self) -> ArrayString<64>;
         fn space_left(&self) -> usize;
    diff --git a/cu29/prelude/trait.WriteStream.html b/cu29/prelude/trait.WriteStream.html
    index ea499a7d4..79fb24d8d 100644
    --- a/cu29/prelude/trait.WriteStream.html
    +++ b/cu29/prelude/trait.WriteStream.html
    @@ -1,4 +1,4 @@
    -WriteStream in cu29::prelude - Rust
    cu29::prelude

    Trait WriteStream

    Source
    pub trait WriteStream<E>:
    +WriteStream in cu29::prelude - Rust
    cu29::prelude

    Trait WriteStream

    pub trait WriteStream<E>:
         Sync
         + Send
         + Debug
    where @@ -9,4 +9,4 @@ // Provided method fn flush(&mut self) -> Result<(), CuError> { ... } }
    Expand description

    Defines a basic write, append only stream trait to be able to log or send serializable objects.

    -

    Required Methods§

    Source

    fn log(&mut self, obj: &E) -> Result<(), CuError>

    Provided Methods§

    Source

    fn flush(&mut self) -> Result<(), CuError>

    Implementors§

    \ No newline at end of file +

    Required Methods§

    fn log(&mut self, obj: &E) -> Result<(), CuError>

    Provided Methods§

    fn flush(&mut self) -> Result<(), CuError>

    Implementors§

    \ No newline at end of file diff --git a/cu29/prelude/type.AscIter.html b/cu29/prelude/type.AscIter.html index c1671e016..7827cc821 100644 --- a/cu29/prelude/type.AscIter.html +++ b/cu29/prelude/type.AscIter.html @@ -1 +1 @@ -AscIter in cu29::prelude - Rust
    cu29::prelude

    Type Alias AscIter

    Source
    pub type AscIter<'a, T> = Chain<Iter<'a, T>, Iter<'a, T>>;

    Aliased Type§

    struct AscIter<'a, T> { /* private fields */ }
    \ No newline at end of file +AscIter in cu29::prelude - Rust
    cu29::prelude

    Type Alias AscIter

    Source
    pub type AscIter<'a, T> = Chain<Iter<'a, T>, Iter<'a, T>>;

    Aliased Type§

    struct AscIter<'a, T> { /* private fields */ }
    \ No newline at end of file diff --git a/cu29/prelude/type.AscIterMut.html b/cu29/prelude/type.AscIterMut.html index 451bb9b29..b9053e9ec 100644 --- a/cu29/prelude/type.AscIterMut.html +++ b/cu29/prelude/type.AscIterMut.html @@ -1 +1 @@ -AscIterMut in cu29::prelude - Rust
    cu29::prelude

    Type Alias AscIterMut

    Source
    pub type AscIterMut<'a, T> = Chain<IterMut<'a, T>, IterMut<'a, T>>;

    Aliased Type§

    struct AscIterMut<'a, T> { /* private fields */ }
    \ No newline at end of file +AscIterMut in cu29::prelude - Rust
    cu29::prelude

    Type Alias AscIterMut

    Source
    pub type AscIterMut<'a, T> = Chain<IterMut<'a, T>, IterMut<'a, T>>;

    Aliased Type§

    struct AscIterMut<'a, T> { /* private fields */ }
    \ No newline at end of file diff --git a/cu29/prelude/type.CuResult.html b/cu29/prelude/type.CuResult.html index dd663dc02..237062181 100644 --- a/cu29/prelude/type.CuResult.html +++ b/cu29/prelude/type.CuResult.html @@ -1,4 +1,4 @@ -CuResult in cu29::prelude - Rust
    cu29::prelude

    Type Alias CuResult

    Source
    pub type CuResult<T> = Result<T, CuError>;

    Aliased Type§

    enum CuResult<T> {
    +CuResult in cu29::prelude - Rust
    cu29::prelude

    Type Alias CuResult

    pub type CuResult<T> = Result<T, CuError>;

    Aliased Type§

    enum CuResult<T> {
         Ok(T),
         Err(CuError),
     }

    Variants§

    §1.0.0

    Ok(T)

    Contains the success value

    diff --git a/cu29/prelude/type.CuTime.html b/cu29/prelude/type.CuTime.html index 9aa2206b0..dfc37972a 100644 --- a/cu29/prelude/type.CuTime.html +++ b/cu29/prelude/type.CuTime.html @@ -1,2 +1,2 @@ -CuTime in cu29::prelude - Rust
    cu29::prelude

    Type Alias CuTime

    Source
    pub type CuTime = CuDuration;
    Expand description

    A robot time is just a duration from a fixed point in time.

    +CuTime in cu29::prelude - Rust
    cu29::prelude

    Type Alias CuTime

    pub type CuTime = CuDuration;
    Expand description

    A robot time is just a duration from a fixed point in time.

    Aliased Type§

    struct CuTime(pub u64);

    Fields§

    §0: u64
    \ No newline at end of file diff --git a/cu29/prelude/type.Iter.html b/cu29/prelude/type.Iter.html index 7d4179021..8539fac9f 100644 --- a/cu29/prelude/type.Iter.html +++ b/cu29/prelude/type.Iter.html @@ -1 +1 @@ -Iter in cu29::prelude - Rust
    cu29::prelude

    Type Alias Iter

    Source
    pub type Iter<'a, T> = Chain<Rev<Iter<'a, T>>, Rev<Iter<'a, T>>>;

    Aliased Type§

    struct Iter<'a, T> { /* private fields */ }
    \ No newline at end of file +Iter in cu29::prelude - Rust
    cu29::prelude

    Type Alias Iter

    Source
    pub type Iter<'a, T> = Chain<Rev<Iter<'a, T>>, Rev<Iter<'a, T>>>;

    Aliased Type§

    struct Iter<'a, T> { /* private fields */ }
    \ No newline at end of file diff --git a/cu29/prelude/type.IterMut.html b/cu29/prelude/type.IterMut.html index 144e6752c..914e8aae2 100644 --- a/cu29/prelude/type.IterMut.html +++ b/cu29/prelude/type.IterMut.html @@ -1 +1 @@ -IterMut in cu29::prelude - Rust
    cu29::prelude

    Type Alias IterMut

    Source
    pub type IterMut<'a, T> = Chain<Rev<IterMut<'a, T>>, Rev<IterMut<'a, T>>>;

    Aliased Type§

    struct IterMut<'a, T> { /* private fields */ }
    \ No newline at end of file +IterMut in cu29::prelude - Rust
    cu29::prelude

    Type Alias IterMut

    Source
    pub type IterMut<'a, T> = Chain<Rev<IterMut<'a, T>>, Rev<IterMut<'a, T>>>;

    Aliased Type§

    struct IterMut<'a, T> { /* private fields */ }
    \ No newline at end of file diff --git a/cu29/prelude/type.NodeId.html b/cu29/prelude/type.NodeId.html index 156bcd7a9..e3b99e6c9 100644 --- a/cu29/prelude/type.NodeId.html +++ b/cu29/prelude/type.NodeId.html @@ -1,3 +1,3 @@ -NodeId in cu29::prelude - Rust
    cu29::prelude

    Type Alias NodeId

    Source
    pub type NodeId = u32;
    Expand description

    NodeId is the unique identifier of a node in the configuration graph for petgraph +NodeId in cu29::prelude - Rust

    cu29::prelude

    Type Alias NodeId

    Source
    pub type NodeId = u32;
    Expand description

    NodeId is the unique identifier of a node in the configuration graph for petgraph and the code generation.

    \ No newline at end of file diff --git a/cu29/simulation/enum.CuTaskCallbackState.html b/cu29/simulation/enum.CuTaskCallbackState.html index f20ed221b..bca8e4d90 100644 --- a/cu29/simulation/enum.CuTaskCallbackState.html +++ b/cu29/simulation/enum.CuTaskCallbackState.html @@ -1,4 +1,4 @@ -CuTaskCallbackState in cu29::simulation - Rust
    cu29::simulation

    Enum CuTaskCallbackState

    Source
    pub enum CuTaskCallbackState<'cl, I, O>
    where +CuTaskCallbackState in cu29::simulation - Rust
    cu29::simulation

    Enum CuTaskCallbackState

    Source
    pub enum CuTaskCallbackState<'cl, I, O>
    where I: CuMsgPack<'cl>, O: CuMsgPack<'cl>,
    { New(Option<ComponentConfig>), diff --git a/cu29/simulation/enum.SimOverride.html b/cu29/simulation/enum.SimOverride.html index 0bada8d9e..305c9ae4d 100644 --- a/cu29/simulation/enum.SimOverride.html +++ b/cu29/simulation/enum.SimOverride.html @@ -1,4 +1,4 @@ -SimOverride in cu29::simulation - Rust
    cu29::simulation

    Enum SimOverride

    Source
    pub enum SimOverride {
    +SimOverride in cu29::simulation - Rust
    cu29::simulation

    Enum SimOverride

    Source
    pub enum SimOverride {
         ExecutedBySim,
         ExecuteByRuntime,
         Errored(String),
    diff --git a/cu29/simulation/index.html b/cu29/simulation/index.html
    index 59c88b9e3..8ce4ac1c3 100644
    --- a/cu29/simulation/index.html
    +++ b/cu29/simulation/index.html
    @@ -1,4 +1,4 @@
    -cu29::simulation - Rust
    cu29

    Module simulation

    Source
    Expand description

    §cu29::simulation Module

    +cu29::simulation - Rust
    cu29

    Module simulation

    Source
    Expand description

    §cu29::simulation Module

    The cu29::simulation module provides an interface to simulate tasks in Copper-based systems. It offers structures, traits, and enums that enable hooking into the lifecycle of tasks, adapting their behavior, and integrating them with simulated hardware environments.

    diff --git a/cu29/simulation/struct.CuSimSinkTask.html b/cu29/simulation/struct.CuSimSinkTask.html index 0418406bb..b98ede01d 100644 --- a/cu29/simulation/struct.CuSimSinkTask.html +++ b/cu29/simulation/struct.CuSimSinkTask.html @@ -1,4 +1,4 @@ -CuSimSinkTask in cu29::simulation - Rust
    cu29::simulation

    Struct CuSimSinkTask

    Source
    pub struct CuSimSinkTask<T> { /* private fields */ }
    Expand description

    This is a placeholder task for a sink task for the simulations. +CuSimSinkTask in cu29::simulation - Rust

    cu29::simulation

    Struct CuSimSinkTask

    Source
    pub struct CuSimSinkTask<T> { /* private fields */ }
    Expand description

    This is a placeholder task for a sink task for the simulations. It basically does nothing in place of a real driver so it won’t try to initialize any hardware.

    Trait Implementations§

    Source§

    impl<'cl, T> CuSinkTask<'cl> for CuSimSinkTask<T>
    where T: CuMsgPayload + 'cl,

    Source§

    type Input = &'cl CuMsg<T>

    Source§

    fn new(_config: Option<&ComponentConfig>) -> Result<CuSimSinkTask<T>, CuError>
    where diff --git a/cu29/simulation/struct.CuSimSrcTask.html b/cu29/simulation/struct.CuSimSrcTask.html index 055cbb1a6..f08b63aeb 100644 --- a/cu29/simulation/struct.CuSimSrcTask.html +++ b/cu29/simulation/struct.CuSimSrcTask.html @@ -1,4 +1,4 @@ -CuSimSrcTask in cu29::simulation - Rust
    cu29::simulation

    Struct CuSimSrcTask

    Source
    pub struct CuSimSrcTask<T> { /* private fields */ }
    Expand description

    This is a placeholder task for a source task for the simulations. +CuSimSrcTask in cu29::simulation - Rust

    cu29::simulation

    Struct CuSimSrcTask

    Source
    pub struct CuSimSrcTask<T> { /* private fields */ }
    Expand description

    This is a placeholder task for a source task for the simulations. It basically does nothing in place of a real driver so it won’t try to initialize any hardware.

    Trait Implementations§

    Source§

    impl<'cl, T> CuSrcTask<'cl> for CuSimSrcTask<T>
    where T: CuMsgPayload + 'cl,

    Source§

    type Output = &'cl mut CuMsg<T>

    Source§

    fn new(_config: Option<&ComponentConfig>) -> Result<CuSimSrcTask<T>, CuError>
    where diff --git a/cu29/struct.CuError.html b/cu29/struct.CuError.html index 240e02bf2..e0a199734 100644 --- a/cu29/struct.CuError.html +++ b/cu29/struct.CuError.html @@ -1,8 +1,8 @@ -CuError in cu29 - Rust
    cu29

    Struct CuError

    Source
    pub struct CuError { /* private fields */ }
    Expand description

    Common copper Error type.

    -

    Implementations§

    Source§

    impl CuError

    Source

    pub fn new_with_cause(message: &str, cause: impl Error) -> CuError

    Source

    pub fn add_cause(self, context: &str) -> CuError

    Trait Implementations§

    Source§

    impl Clone for CuError

    Source§

    fn clone(&self) -> CuError

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for CuError

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for CuError

    Source§

    fn deserialize<__D>( +CuError in cu29 - Rust
    cu29

    Struct CuError

    pub struct CuError { /* private fields */ }
    Expand description

    Common copper Error type.

    +

    Implementations§

    §

    impl CuError

    pub fn new_with_cause(message: &str, cause: impl Error) -> CuError

    pub fn add_cause(self, context: &str) -> CuError

    Trait Implementations§

    §

    impl Clone for CuError

    §

    fn clone(&self) -> CuError

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for CuError

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for CuError

    §

    fn deserialize<__D>( __deserializer: __D, ) -> Result<CuError, <__D as Deserializer<'de>>::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Display for CuError

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl Error for CuError

    1.30.0 · Source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    Returns the lower-level source of this error, if any. Read more
    1.0.0 · Source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · Source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    Source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type-based access to context intended for error reports. Read more
    Source§

    impl From<&str> for CuError

    Source§

    fn from(s: &str) -> CuError

    Converts to this type from the input type.
    Source§

    impl From<String> for CuError

    Source§

    fn from(s: String) -> CuError

    Converts to this type from the input type.
    Source§

    impl Serialize for CuError

    Source§

    fn serialize<__S>( + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Display for CuError

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Error for CuError

    1.30.0 · Source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    Returns the lower-level source of this error, if any. Read more
    1.0.0 · Source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · Source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    Source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type-based access to context intended for error reports. Read more
    §

    impl From<&str> for CuError

    §

    fn from(s: &str) -> CuError

    Converts to this type from the input type.
    §

    impl From<String> for CuError

    §

    fn from(s: String) -> CuError

    Converts to this type from the input type.
    §

    impl Serialize for CuError

    §

    fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where diff --git a/cu29/trait.CopperListTuple.html b/cu29/trait.CopperListTuple.html index 4baf6ad2f..f516e6bbe 100644 --- a/cu29/trait.CopperListTuple.html +++ b/cu29/trait.CopperListTuple.html @@ -1,7 +1,7 @@ -CopperListTuple in cu29 - Rust
    cu29

    Trait CopperListTuple

    Source
    pub trait CopperListTuple:
    +CopperListTuple in cu29 - Rust
    cu29

    Trait CopperListTuple

    pub trait CopperListTuple:
         Sized
         + Encode
         + Decode
         + Debug { }
    Expand description

    A CopperListTuple needs to be encodable, decodable and fixed size in memory.

    -

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    Source§

    impl<T> CopperListTuple for T
    where +

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    §

    impl<T> CopperListTuple for T
    where T: Encode + Decode + Debug,

    \ No newline at end of file diff --git a/cu29/trait.WriteStream.html b/cu29/trait.WriteStream.html index 0cb8923ed..630c042b7 100644 --- a/cu29/trait.WriteStream.html +++ b/cu29/trait.WriteStream.html @@ -1,4 +1,4 @@ -WriteStream in cu29 - Rust
    cu29

    Trait WriteStream

    Source
    pub trait WriteStream<E>:
    +WriteStream in cu29 - Rust
    cu29

    Trait WriteStream

    pub trait WriteStream<E>:
         Sync
         + Send
         + Debug
    where @@ -9,4 +9,4 @@ // Provided method fn flush(&mut self) -> Result<(), CuError> { ... } }
    Expand description

    Defines a basic write, append only stream trait to be able to log or send serializable objects.

    -

    Required Methods§

    Source

    fn log(&mut self, obj: &E) -> Result<(), CuError>

    Provided Methods§

    Source

    fn flush(&mut self) -> Result<(), CuError>

    Implementors§

    \ No newline at end of file +

    Required Methods§

    fn log(&mut self, obj: &E) -> Result<(), CuError>

    Provided Methods§

    fn flush(&mut self) -> Result<(), CuError>

    Implementors§

    \ No newline at end of file diff --git a/cu29/type.CuResult.html b/cu29/type.CuResult.html index 3e7986a07..df6b143de 100644 --- a/cu29/type.CuResult.html +++ b/cu29/type.CuResult.html @@ -1,4 +1,4 @@ -CuResult in cu29 - Rust
    cu29

    Type Alias CuResult

    Source
    pub type CuResult<T> = Result<T, CuError>;

    Aliased Type§

    enum CuResult<T> {
    +CuResult in cu29 - Rust
    cu29

    Type Alias CuResult

    pub type CuResult<T> = Result<T, CuError>;

    Aliased Type§

    enum CuResult<T> {
         Ok(T),
         Err(CuError),
     }

    Variants§

    §1.0.0

    Ok(T)

    Contains the success value

    diff --git a/cu29_clock/all.html b/cu29_clock/all.html index 74b18baf9..796f90994 100644 --- a/cu29_clock/all.html +++ b/cu29_clock/all.html @@ -1 +1 @@ -List of all items in this crate
    \ No newline at end of file +List of all items in this crate
    \ No newline at end of file diff --git a/cu29_clock/enum.Tov.html b/cu29_clock/enum.Tov.html index 874ff8c93..d8a17702c 100644 --- a/cu29_clock/enum.Tov.html +++ b/cu29_clock/enum.Tov.html @@ -1,4 +1,4 @@ -Tov in cu29_clock - Rust
    cu29_clock

    Enum Tov

    Source
    pub enum Tov {
    +Tov in cu29_clock - Rust
    cu29_clock

    Enum Tov

    Source
    pub enum Tov {
         None,
         Time(CuTime),
         Range(CuTimeRange),
    diff --git a/cu29_clock/index.html b/cu29_clock/index.html
    index 586118c97..e2bf31b8b 100644
    --- a/cu29_clock/index.html
    +++ b/cu29_clock/index.html
    @@ -1,4 +1,4 @@
    -cu29_clock - Rust

    Crate cu29_clock

    Source

    Structs§

    CuDuration
    For Robot times, the underlying type is a u64 representing nanoseconds. +cu29_clock - Rust

    Crate cu29_clock

    Source

    Structs§

    CuDuration
    For Robot times, the underlying type is a u64 representing nanoseconds. It is always positive to simplify the reasoning on the user side.
    CuTimeRange
    Represents a time range.
    Instant
    A point-in-time wall-clock measurement.
    OptionCuTime
    Homebrewed Option<CuDuration> to avoid using 128bits just to represent an Option.
    PartialCuTimeRange
    Represents a time range with possible undefined start or end or both.
    RobotClock
    A running Robot clock. The clock is a monotonic clock that starts at an arbitrary reference time. It is clone resilient, ie a clone will be the same clock, even when mocked.
    RobotClockMock
    A mock clock that can be controlled by the user.

    Enums§

    Tov
    The time of validity of a message can be more than one time but can be a time range of Tovs. diff --git a/cu29_clock/struct.CuDuration.html b/cu29_clock/struct.CuDuration.html index 527055ece..e1df97b45 100644 --- a/cu29_clock/struct.CuDuration.html +++ b/cu29_clock/struct.CuDuration.html @@ -1,4 +1,4 @@ -CuDuration in cu29_clock - Rust
    cu29_clock

    Struct CuDuration

    Source
    pub struct CuDuration(pub u64);
    Expand description

    For Robot times, the underlying type is a u64 representing nanoseconds. +CuDuration in cu29_clock - Rust

    cu29_clock

    Struct CuDuration

    Source
    pub struct CuDuration(pub u64);
    Expand description

    For Robot times, the underlying type is a u64 representing nanoseconds. It is always positive to simplify the reasoning on the user side.

    Tuple Fields§

    §0: u64

    Implementations§

    Source§

    impl CuDuration

    Source

    pub const MIN: CuDuration

    Source

    pub const MAX: CuDuration

    Source

    pub fn max(&self, p0: CuDuration) -> CuDuration

    Source

    pub fn min(&self, p0: CuDuration) -> CuDuration

    Source

    pub fn as_nanos(&self) -> u64

    Trait Implementations§

    Source§

    impl Add for CuDuration

    Source§

    type Output = CuDuration

    The resulting type after applying the + operator.
    Source§

    fn add(self, rhs: Self) -> Self::Output

    Performs the + operation. Read more
    Source§

    impl AddAssign for CuDuration

    Source§

    fn add_assign(&mut self, rhs: Self)

    Performs the += operation. Read more
    Source§

    impl<'de> BorrowDecode<'de> for CuDuration

    Source§

    fn borrow_decode<D: BorrowDecoder<'de>>( decoder: &mut D, diff --git a/cu29_clock/struct.CuTimeRange.html b/cu29_clock/struct.CuTimeRange.html index 5eef4229c..469a3c352 100644 --- a/cu29_clock/struct.CuTimeRange.html +++ b/cu29_clock/struct.CuTimeRange.html @@ -1,4 +1,4 @@ -CuTimeRange in cu29_clock - Rust
    cu29_clock

    Struct CuTimeRange

    Source
    pub struct CuTimeRange {
    +CuTimeRange in cu29_clock - Rust
    cu29_clock

    Struct CuTimeRange

    Source
    pub struct CuTimeRange {
         pub start: CuTime,
         pub end: CuTime,
     }
    Expand description

    Represents a time range.

    diff --git a/cu29_clock/struct.Instant.html b/cu29_clock/struct.Instant.html index aea6e09cd..f226fd3c3 100644 --- a/cu29_clock/struct.Instant.html +++ b/cu29_clock/struct.Instant.html @@ -1,4 +1,4 @@ -Instant in cu29_clock - Rust
    cu29_clock

    Struct Instant

    pub struct Instant(/* private fields */);
    Expand description

    A point-in-time wall-clock measurement.

    +Instant in cu29_clock - Rust
    cu29_clock

    Struct Instant

    pub struct Instant(/* private fields */);
    Expand description

    A point-in-time wall-clock measurement.

    Mimics most of the functionality of std::time::Instant but provides an additional method for using the “recent time” feature of quanta.

    §Monotonicity

    diff --git a/cu29_clock/struct.OptionCuTime.html b/cu29_clock/struct.OptionCuTime.html index 255c6b579..f9eb6202f 100644 --- a/cu29_clock/struct.OptionCuTime.html +++ b/cu29_clock/struct.OptionCuTime.html @@ -1,4 +1,4 @@ -OptionCuTime in cu29_clock - Rust
    cu29_clock

    Struct OptionCuTime

    Source
    pub struct OptionCuTime(/* private fields */);
    Expand description

    Homebrewed Option<CuDuration> to avoid using 128bits just to represent an Option.

    +OptionCuTime in cu29_clock - Rust
    cu29_clock

    Struct OptionCuTime

    Source
    pub struct OptionCuTime(/* private fields */);
    Expand description

    Homebrewed Option<CuDuration> to avoid using 128bits just to represent an Option.

    Implementations§

    Source§

    impl OptionCuTime

    Source

    pub fn is_none(&self) -> bool

    Source

    pub fn none() -> Self

    Source

    pub fn unwrap(self) -> CuTime

    Trait Implementations§

    Source§

    impl<'__de> BorrowDecode<'__de> for OptionCuTime

    Source§

    fn borrow_decode<__D: BorrowDecoder<'__de>>( decoder: &mut __D, ) -> Result<Self, DecodeError>

    Attempt to decode this type with the given BorrowDecode.
    Source§

    impl Clone for OptionCuTime

    Source§

    fn clone(&self) -> OptionCuTime

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for OptionCuTime

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Decode for OptionCuTime

    Source§

    fn decode<__D: Decoder>(decoder: &mut __D) -> Result<Self, DecodeError>

    Attempt to decode this type with the given Decode.
    Source§

    impl Default for OptionCuTime

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for OptionCuTime

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where diff --git a/cu29_clock/struct.PartialCuTimeRange.html b/cu29_clock/struct.PartialCuTimeRange.html index b240455d4..6abe83f59 100644 --- a/cu29_clock/struct.PartialCuTimeRange.html +++ b/cu29_clock/struct.PartialCuTimeRange.html @@ -1,4 +1,4 @@ -PartialCuTimeRange in cu29_clock - Rust
    cu29_clock

    Struct PartialCuTimeRange

    Source
    pub struct PartialCuTimeRange {
    +PartialCuTimeRange in cu29_clock - Rust
    cu29_clock

    Struct PartialCuTimeRange

    Source
    pub struct PartialCuTimeRange {
         pub start: OptionCuTime,
         pub end: OptionCuTime,
     }
    Expand description

    Represents a time range with possible undefined start or end or both.

    diff --git a/cu29_clock/struct.RobotClock.html b/cu29_clock/struct.RobotClock.html index 088c84b6a..92c208698 100644 --- a/cu29_clock/struct.RobotClock.html +++ b/cu29_clock/struct.RobotClock.html @@ -1,4 +1,4 @@ -RobotClock in cu29_clock - Rust
    cu29_clock

    Struct RobotClock

    Source
    pub struct RobotClock { /* private fields */ }
    Expand description

    A running Robot clock. +RobotClock in cu29_clock - Rust

    cu29_clock

    Struct RobotClock

    Source
    pub struct RobotClock { /* private fields */ }
    Expand description

    A running Robot clock. The clock is a monotonic clock that starts at an arbitrary reference time. It is clone resilient, ie a clone will be the same clock, even when mocked.

    Implementations§

    Source§

    impl RobotClock

    Source

    pub fn new() -> Self

    Creates a RobotClock using now as its reference time. diff --git a/cu29_clock/struct.RobotClockMock.html b/cu29_clock/struct.RobotClockMock.html index 1c11a55e1..4552a454a 100644 --- a/cu29_clock/struct.RobotClockMock.html +++ b/cu29_clock/struct.RobotClockMock.html @@ -1,4 +1,4 @@ -RobotClockMock in cu29_clock - Rust

    cu29_clock

    Struct RobotClockMock

    Source
    pub struct RobotClockMock(/* private fields */);
    Expand description

    A mock clock that can be controlled by the user.

    +RobotClockMock in cu29_clock - Rust
    cu29_clock

    Struct RobotClockMock

    Source
    pub struct RobotClockMock(/* private fields */);
    Expand description

    A mock clock that can be controlled by the user.

    Implementations§

    Source§

    impl RobotClockMock

    Source

    pub fn increment(&self, amount: Duration)

    Source

    pub fn decrement(&self, amount: Duration)

    Decrements the time by the given amount. Be careful this brakes the monotonicity of the clock.

    Source

    pub fn value(&self) -> u64

    Gets the current value of time.

    diff --git a/cu29_clock/trait.ClockProvider.html b/cu29_clock/trait.ClockProvider.html index 9ee618ea7..e2d9cf558 100644 --- a/cu29_clock/trait.ClockProvider.html +++ b/cu29_clock/trait.ClockProvider.html @@ -1,4 +1,4 @@ -ClockProvider in cu29_clock - Rust
    cu29_clock

    Trait ClockProvider

    Source
    pub trait ClockProvider {
    +ClockProvider in cu29_clock - Rust
    cu29_clock

    Trait ClockProvider

    Source
    pub trait ClockProvider {
         // Required method
         fn get_clock(&self) -> RobotClock;
     }
    Expand description

    A trait to provide a clock to the runtime.

    diff --git a/cu29_clock/type.CuTime.html b/cu29_clock/type.CuTime.html index 984275add..cec970278 100644 --- a/cu29_clock/type.CuTime.html +++ b/cu29_clock/type.CuTime.html @@ -1,2 +1,2 @@ -CuTime in cu29_clock - Rust
    cu29_clock

    Type Alias CuTime

    Source
    pub type CuTime = CuDuration;
    Expand description

    A robot time is just a duration from a fixed point in time.

    +CuTime in cu29_clock - Rust
    cu29_clock

    Type Alias CuTime

    Source
    pub type CuTime = CuDuration;
    Expand description

    A robot time is just a duration from a fixed point in time.

    Aliased Type§

    struct CuTime(pub u64);

    Fields§

    §0: u64
    \ No newline at end of file diff --git a/cu29_derive/all.html b/cu29_derive/all.html index d35bb640c..27935ce7f 100644 --- a/cu29_derive/all.html +++ b/cu29_derive/all.html @@ -1 +1 @@ -List of all items in this crate

    List of all items

    Macros

    Attribute Macros

    \ No newline at end of file +List of all items in this crate

    List of all items

    Macros

    Attribute Macros

    \ No newline at end of file diff --git a/cu29_derive/attr.copper_runtime.html b/cu29_derive/attr.copper_runtime.html index 2a90dc46a..a4516984a 100644 --- a/cu29_derive/attr.copper_runtime.html +++ b/cu29_derive/attr.copper_runtime.html @@ -1,4 +1,4 @@ -copper_runtime in cu29_derive - Rust
    cu29_derive

    Attribute Macro copper_runtime

    Source
    #[copper_runtime]
    Expand description

    Adds #[copper_runtime(config = “path”, sim_mode = false/true)] to your application struct to generate the runtime. +copper_runtime in cu29_derive - Rust

    cu29_derive

    Attribute Macro copper_runtime

    Source
    #[copper_runtime]
    Expand description

    Adds #[copper_runtime(config = “path”, sim_mode = false/true)] to your application struct to generate the runtime. if sim_mode is omitted, it is set to false. This will add a “runtime” field to your struct and implement the “new” and “run” methods.

    \ No newline at end of file diff --git a/cu29_derive/index.html b/cu29_derive/index.html index 5edf7185d..9479a306d 100644 --- a/cu29_derive/index.html +++ b/cu29_derive/index.html @@ -1,4 +1,4 @@ -cu29_derive - Rust

    Crate cu29_derive

    Source

    Macros§

    gen_cumsgs
    Generates the CopperList content type from a config. +cu29_derive - Rust

    Crate cu29_derive

    Source

    Macros§

    gen_cumsgs
    Generates the CopperList content type from a config. gen_cumsgs!(“path/to/config.toml”) It will create a new type called CuMsgs you can pass to the log reader for decoding:

    Attribute Macros§

    copper_runtime
    Adds #[copper_runtime(config = “path”, sim_mode = false/true)] to your application struct to generate the runtime. if sim_mode is omitted, it is set to false. diff --git a/cu29_derive/macro.gen_cumsgs.html b/cu29_derive/macro.gen_cumsgs.html index f9203677d..bc255d4a6 100644 --- a/cu29_derive/macro.gen_cumsgs.html +++ b/cu29_derive/macro.gen_cumsgs.html @@ -1,4 +1,4 @@ -gen_cumsgs in cu29_derive - Rust
    cu29_derive

    Macro gen_cumsgs

    Source
    gen_cumsgs!() { /* proc-macro */ }
    Expand description

    Generates the CopperList content type from a config. +gen_cumsgs in cu29_derive - Rust

    cu29_derive

    Macro gen_cumsgs

    Source
    gen_cumsgs!() { /* proc-macro */ }
    Expand description

    Generates the CopperList content type from a config. gen_cumsgs!(“path/to/config.toml”) It will create a new type called CuMsgs you can pass to the log reader for decoding:

    \ No newline at end of file diff --git a/cu29_export/all.html b/cu29_export/all.html index 7071c6419..05a7f13f9 100644 --- a/cu29_export/all.html +++ b/cu29_export/all.html @@ -1 +1 @@ -List of all items in this crate
    \ No newline at end of file +List of all items in this crate
    \ No newline at end of file diff --git a/cu29_export/enum.Command.html b/cu29_export/enum.Command.html index 3240d773c..e36d1c5fa 100644 --- a/cu29_export/enum.Command.html +++ b/cu29_export/enum.Command.html @@ -1,4 +1,4 @@ -Command in cu29_export - Rust
    cu29_export

    Enum Command

    Source
    pub enum Command {
    +Command in cu29_export - Rust
    cu29_export

    Enum Command

    Source
    pub enum Command {
         ExtractLog {
             log_index: PathBuf,
         },
    diff --git a/cu29_export/enum.ExportFormat.html b/cu29_export/enum.ExportFormat.html
    index 64ca07efb..aaf01ee7a 100644
    --- a/cu29_export/enum.ExportFormat.html
    +++ b/cu29_export/enum.ExportFormat.html
    @@ -1,4 +1,4 @@
    -ExportFormat in cu29_export - Rust
    cu29_export

    Enum ExportFormat

    Source
    pub enum ExportFormat {
    +ExportFormat in cu29_export - Rust
    cu29_export

    Enum ExportFormat

    Source
    pub enum ExportFormat {
         Json,
         Csv,
     }

    Variants§

    §

    Json

    §

    Csv

    Trait Implementations§

    Source§

    impl Clone for ExportFormat

    Source§

    fn clone(&self) -> ExportFormat

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Display for ExportFormat

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Ord for ExportFormat

    Source§

    fn cmp(&self, other: &ExportFormat) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · Source§

    fn max(self, other: Self) -> Self
    where diff --git a/cu29_export/fn.copperlists_dump.html b/cu29_export/fn.copperlists_dump.html index 7a40f65d7..b4b0b7c6e 100644 --- a/cu29_export/fn.copperlists_dump.html +++ b/cu29_export/fn.copperlists_dump.html @@ -1,4 +1,4 @@ -copperlists_dump in cu29_export - Rust
    cu29_export

    Function copperlists_dump

    Source
    pub fn copperlists_dump<P: CopperListTuple>(
    +copperlists_dump in cu29_export - Rust
    cu29_export

    Function copperlists_dump

    Source
    pub fn copperlists_dump<P: CopperListTuple>(
         src: impl Read,
     ) -> impl Iterator<Item = CopperList<P>>
    Expand description

    Extracts the copper lists from a binary representation. P is the Payload determined by the configuration of the application.

    diff --git a/cu29_export/fn.run_cli.html b/cu29_export/fn.run_cli.html index ef29a08d9..d290375a8 100644 --- a/cu29_export/fn.run_cli.html +++ b/cu29_export/fn.run_cli.html @@ -1,4 +1,4 @@ -run_cli in cu29_export - Rust
    cu29_export

    Function run_cli

    Source
    pub fn run_cli<P>() -> CuResult<()>
    where - P: CopperListTuple,
    Expand description

    This is a generator for a main function to build a log extractor. +run_cli in cu29_export - Rust

    cu29_export

    Function run_cli

    Source
    pub fn run_cli<P>() -> CuResult<()>
    where + P: CopperListTuple,
    Expand description

    This is a generator for a main function to build a log extractor. It depends on the specific type of the CopperList payload that is determined at compile time from the configuration.

    \ No newline at end of file diff --git a/cu29_export/fn.textlog_dump.html b/cu29_export/fn.textlog_dump.html index 31c6afb1f..d87c516fb 100644 --- a/cu29_export/fn.textlog_dump.html +++ b/cu29_export/fn.textlog_dump.html @@ -1,4 +1,4 @@ -textlog_dump in cu29_export - Rust
    cu29_export

    Function textlog_dump

    Source
    pub fn textlog_dump(src: impl Read, index: &Path) -> CuResult<()>
    Expand description

    Full dump of the copper structured log from its binary representation. +textlog_dump in cu29_export - Rust

    cu29_export

    Function textlog_dump

    Source
    pub fn textlog_dump(src: impl Read, index: &Path) -> CuResult<()>
    Expand description

    Full dump of the copper structured log from its binary representation. This rebuilds a textual log. src: the source of the log data index: the path to the index file (containing the interned strings constructed at build time)

    diff --git a/cu29_export/index.html b/cu29_export/index.html index 0aaccb83a..08a37d644 100644 --- a/cu29_export/index.html +++ b/cu29_export/index.html @@ -1,4 +1,4 @@ -cu29_export - Rust

    Crate cu29_export

    Source

    Structs§

    LogReaderCli
    This is a generator for a main function to build a log extractor.

    Enums§

    Command
    ExportFormat

    Functions§

    copperlists_dump
    Extracts the copper lists from a binary representation. +cu29_export - Rust

    Crate cu29_export

    Source

    Structs§

    LogReaderCli
    This is a generator for a main function to build a log extractor.

    Enums§

    Command
    ExportFormat

    Functions§

    copperlists_dump
    Extracts the copper lists from a binary representation. P is the Payload determined by the configuration of the application.
    run_cli
    This is a generator for a main function to build a log extractor. It depends on the specific type of the CopperList payload that is determined at compile time from the configuration.
    textlog_dump
    Full dump of the copper structured log from its binary representation. This rebuilds a textual log. diff --git a/cu29_export/struct.LogReaderCli.html b/cu29_export/struct.LogReaderCli.html index 3e2bf4fcf..5555e40dc 100644 --- a/cu29_export/struct.LogReaderCli.html +++ b/cu29_export/struct.LogReaderCli.html @@ -1,4 +1,4 @@ -LogReaderCli in cu29_export - Rust
    cu29_export

    Struct LogReaderCli

    Source
    pub struct LogReaderCli {
    +LogReaderCli in cu29_export - Rust
    cu29_export

    Struct LogReaderCli

    Source
    pub struct LogReaderCli {
         pub unifiedlog_base: PathBuf,
         pub command: Command,
     }
    Expand description

    This is a generator for a main function to build a log extractor.

    diff --git a/cu29_helpers/all.html b/cu29_helpers/all.html index fd53fd086..6632be895 100644 --- a/cu29_helpers/all.html +++ b/cu29_helpers/all.html @@ -1 +1 @@ -List of all items in this crate

    List of all items

    Functions

    \ No newline at end of file +List of all items in this crate

    List of all items

    Functions

    \ No newline at end of file diff --git a/cu29_helpers/fn.basic_copper_setup.html b/cu29_helpers/fn.basic_copper_setup.html index 105e113b4..54ddc1ee2 100644 --- a/cu29_helpers/fn.basic_copper_setup.html +++ b/cu29_helpers/fn.basic_copper_setup.html @@ -1,9 +1,9 @@ -basic_copper_setup in cu29_helpers - Rust
    cu29_helpers

    Function basic_copper_setup

    Source
    pub fn basic_copper_setup(
    +basic_copper_setup in cu29_helpers - Rust
    cu29_helpers

    Function basic_copper_setup

    Source
    pub fn basic_copper_setup(
         unifiedlogger_output_base_name: &Path,
         slab_size: Option<usize>,
         _text_log: bool,
    -    clock: Option<RobotClock>,
    -) -> CuResult<CopperContext>
    Expand description

    This is a basic setup for a copper application to get you started. + clock: Option<RobotClock>, +) -> CuResult<CopperContext>

    Expand description

    This is a basic setup for a copper application to get you started. Duplicate and customize as needed when your needs grow.

    unifiedlogger_output_base_name: The base name of the log file. The logger will create a set of files based on this name for example if named “toto.copper” it will create toto_0.copper, toto_1.copper etc.

    diff --git a/cu29_helpers/index.html b/cu29_helpers/index.html index ae6c287ac..ec190da8a 100644 --- a/cu29_helpers/index.html +++ b/cu29_helpers/index.html @@ -1,2 +1,2 @@ -cu29_helpers - Rust

    Crate cu29_helpers

    Source

    Functions§

    basic_copper_setup
    This is a basic setup for a copper application to get you started. +cu29_helpers - Rust

    Crate cu29_helpers

    Source

    Functions§

    basic_copper_setup
    This is a basic setup for a copper application to get you started. Duplicate and customize as needed when your needs grow.
    \ No newline at end of file diff --git a/cu29_intern_strs/all.html b/cu29_intern_strs/all.html index 8bd432cea..f99bf5d0c 100644 --- a/cu29_intern_strs/all.html +++ b/cu29_intern_strs/all.html @@ -1 +1 @@ -List of all items in this crate

    List of all items

    Functions

    \ No newline at end of file +List of all items in this crate

    List of all items

    Functions

    \ No newline at end of file diff --git a/cu29_intern_strs/fn.read_interned_strings.html b/cu29_intern_strs/fn.read_interned_strings.html index 0e5094ef1..c7b255a88 100644 --- a/cu29_intern_strs/fn.read_interned_strings.html +++ b/cu29_intern_strs/fn.read_interned_strings.html @@ -1,2 +1,2 @@ -read_interned_strings in cu29_intern_strs - Rust
    cu29_intern_strs

    Function read_interned_strings

    Source
    pub fn read_interned_strings(index: &Path) -> CuResult<Vec<String>>
    Expand description

    Rebuild the interned string index in memory.

    +read_interned_strings in cu29_intern_strs - Rust
    cu29_intern_strs

    Function read_interned_strings

    Source
    pub fn read_interned_strings(index: &Path) -> CuResult<Vec<String>>
    Expand description

    Rebuild the interned string index in memory.

    \ No newline at end of file diff --git a/cu29_intern_strs/index.html b/cu29_intern_strs/index.html index dc0987582..ec01caadb 100644 --- a/cu29_intern_strs/index.html +++ b/cu29_intern_strs/index.html @@ -1 +1 @@ -cu29_intern_strs - Rust

    Crate cu29_intern_strs

    Source

    Functions§

    read_interned_strings
    Rebuild the interned string index in memory.
    \ No newline at end of file +cu29_intern_strs - Rust

    Crate cu29_intern_strs

    Source

    Functions§

    read_interned_strings
    Rebuild the interned string index in memory.
    \ No newline at end of file diff --git a/cu29_log/all.html b/cu29_log/all.html index b4a300f0d..1abb5ac75 100644 --- a/cu29_log/all.html +++ b/cu29_log/all.html @@ -1 +1 @@ -List of all items in this crate
    \ No newline at end of file +List of all items in this crate
    \ No newline at end of file diff --git a/cu29_log/constant.ANONYMOUS.html b/cu29_log/constant.ANONYMOUS.html index 2e1050b6d..0269b4960 100644 --- a/cu29_log/constant.ANONYMOUS.html +++ b/cu29_log/constant.ANONYMOUS.html @@ -1 +1 @@ -ANONYMOUS in cu29_log - Rust
    cu29_log

    Constant ANONYMOUS

    Source
    pub const ANONYMOUS: u32 = 0;
    \ No newline at end of file +ANONYMOUS in cu29_log - Rust
    cu29_log

    Constant ANONYMOUS

    Source
    pub const ANONYMOUS: u32 = 0;
    \ No newline at end of file diff --git a/cu29_log/constant.MAX_LOG_PARAMS_ON_STACK.html b/cu29_log/constant.MAX_LOG_PARAMS_ON_STACK.html index f283d7f56..d914b9db8 100644 --- a/cu29_log/constant.MAX_LOG_PARAMS_ON_STACK.html +++ b/cu29_log/constant.MAX_LOG_PARAMS_ON_STACK.html @@ -1 +1 @@ -MAX_LOG_PARAMS_ON_STACK in cu29_log - Rust
    cu29_log

    Constant MAX_LOG_PARAMS_ON_STACK

    Source
    pub const MAX_LOG_PARAMS_ON_STACK: usize = 10;
    \ No newline at end of file +MAX_LOG_PARAMS_ON_STACK in cu29_log - Rust
    cu29_log

    Constant MAX_LOG_PARAMS_ON_STACK

    Source
    pub const MAX_LOG_PARAMS_ON_STACK: usize = 10;
    \ No newline at end of file diff --git a/cu29_log/fn.default_log_index_dir.html b/cu29_log/fn.default_log_index_dir.html index fcaa0810f..51bd25357 100644 --- a/cu29_log/fn.default_log_index_dir.html +++ b/cu29_log/fn.default_log_index_dir.html @@ -1,2 +1,2 @@ -default_log_index_dir in cu29_log - Rust
    cu29_log

    Function default_log_index_dir

    Source
    pub fn default_log_index_dir() -> PathBuf
    Expand description

    Convenience function to returns the default path for the log index directory.

    +default_log_index_dir in cu29_log - Rust
    cu29_log

    Function default_log_index_dir

    Source
    pub fn default_log_index_dir() -> PathBuf
    Expand description

    Convenience function to returns the default path for the log index directory.

    \ No newline at end of file diff --git a/cu29_log/fn.format_logline.html b/cu29_log/fn.format_logline.html index aaebc5cc0..38684c687 100644 --- a/cu29_log/fn.format_logline.html +++ b/cu29_log/fn.format_logline.html @@ -1,4 +1,4 @@ -format_logline in cu29_log - Rust
    cu29_log

    Function format_logline

    Source
    pub fn format_logline(
    +format_logline in cu29_log - Rust
    cu29_log

    Function format_logline

    Source
    pub fn format_logline(
         time: CuTime,
         format_str: &str,
         params: &[String],
    diff --git a/cu29_log/fn.rebuild_logline.html b/cu29_log/fn.rebuild_logline.html
    index df76e8d65..d6543c0ae 100644
    --- a/cu29_log/fn.rebuild_logline.html
    +++ b/cu29_log/fn.rebuild_logline.html
    @@ -1,4 +1,4 @@
    -rebuild_logline in cu29_log - Rust
    cu29_log

    Function rebuild_logline

    Source
    pub fn rebuild_logline(
    +rebuild_logline in cu29_log - Rust
    cu29_log

    Function rebuild_logline

    Source
    pub fn rebuild_logline(
         all_interned_strings: &[String],
         entry: &CuLogEntry,
     ) -> CuResult<String>
    Expand description

    Rebuild a log line from the interned strings and the CuLogEntry. diff --git a/cu29_log/index.html b/cu29_log/index.html index f43534dfe..62e1252e7 100644 --- a/cu29_log/index.html +++ b/cu29_log/index.html @@ -1,2 +1,2 @@ -cu29_log - Rust

    Crate cu29_log

    Source

    Structs§

    CuLogEntry
    This is the basic structure for a log entry in Copper.

    Constants§

    ANONYMOUS
    MAX_LOG_PARAMS_ON_STACK

    Functions§

    default_log_index_dir
    Convenience function to returns the default path for the log index directory.
    format_logline
    Text log line formatter.
    rebuild_logline
    Rebuild a log line from the interned strings and the CuLogEntry. +cu29_log - Rust

    Crate cu29_log

    Source

    Structs§

    CuLogEntry
    This is the basic structure for a log entry in Copper.

    Constants§

    ANONYMOUS
    MAX_LOG_PARAMS_ON_STACK

    Functions§

    default_log_index_dir
    Convenience function to returns the default path for the log index directory.
    format_logline
    Text log line formatter.
    rebuild_logline
    Rebuild a log line from the interned strings and the CuLogEntry. This basically translates the world of copper logs to text logs.
    \ No newline at end of file diff --git a/cu29_log/struct.CuLogEntry.html b/cu29_log/struct.CuLogEntry.html index 63a74efa0..b1c45618d 100644 --- a/cu29_log/struct.CuLogEntry.html +++ b/cu29_log/struct.CuLogEntry.html @@ -1,4 +1,4 @@ -CuLogEntry in cu29_log - Rust
    cu29_log

    Struct CuLogEntry

    Source
    pub struct CuLogEntry {
    +CuLogEntry in cu29_log - Rust
    cu29_log

    Struct CuLogEntry

    Source
    pub struct CuLogEntry {
         pub time: CuTime,
         pub msg_index: u32,
         pub paramname_indexes: SmallVec<[u32; 10]>,
    diff --git a/cu29_log_derive/all.html b/cu29_log_derive/all.html
    index c374e1b4d..2164de4c7 100644
    --- a/cu29_log_derive/all.html
    +++ b/cu29_log_derive/all.html
    @@ -1 +1 @@
    -List of all items in this crate

    List of all items

    Macros

    \ No newline at end of file +List of all items in this crate

    List of all items

    Macros

    \ No newline at end of file diff --git a/cu29_log_derive/index.html b/cu29_log_derive/index.html index 44df20ee0..7d209a36e 100644 --- a/cu29_log_derive/index.html +++ b/cu29_log_derive/index.html @@ -1,4 +1,4 @@ -cu29_log_derive - Rust

    Crate cu29_log_derive

    Source

    Macros§

    debug
    This macro is used to log a message with parameters. +cu29_log_derive - Rust

    Crate cu29_log_derive

    Source

    Macros§

    debug
    This macro is used to log a message with parameters. The first parameter is a string literal that represents the message to be logged. Only {} is supported as a placeholder for parameters. The rest of the parameters are the values to be logged. diff --git a/cu29_log_derive/macro.debug.html b/cu29_log_derive/macro.debug.html index 54882f96e..3bf764433 100644 --- a/cu29_log_derive/macro.debug.html +++ b/cu29_log_derive/macro.debug.html @@ -1,4 +1,4 @@ -debug in cu29_log_derive - Rust
    cu29_log_derive

    Macro debug

    Source
    debug!() { /* proc-macro */ }
    Expand description

    This macro is used to log a message with parameters. +debug in cu29_log_derive - Rust

    cu29_log_derive

    Macro debug

    Source
    debug!() { /* proc-macro */ }
    Expand description

    This macro is used to log a message with parameters. The first parameter is a string literal that represents the message to be logged. Only {} is supported as a placeholder for parameters. The rest of the parameters are the values to be logged. diff --git a/cu29_log_runtime/all.html b/cu29_log_runtime/all.html index a7e44fcd0..6e9fd9fa8 100644 --- a/cu29_log_runtime/all.html +++ b/cu29_log_runtime/all.html @@ -1 +1 @@ -List of all items in this crate

    \ No newline at end of file +List of all items in this crate
    \ No newline at end of file diff --git a/cu29_log_runtime/fn.log.html b/cu29_log_runtime/fn.log.html index 64b678b05..41b194cfc 100644 --- a/cu29_log_runtime/fn.log.html +++ b/cu29_log_runtime/fn.log.html @@ -1,3 +1,3 @@ -log in cu29_log_runtime - Rust
    cu29_log_runtime

    Function log

    Source
    pub fn log(entry: &mut CuLogEntry) -> CuResult<()>
    Expand description

    Function called from generated code to log data. +log in cu29_log_runtime - Rust

    cu29_log_runtime

    Function log

    Source
    pub fn log(entry: &mut CuLogEntry) -> CuResult<()>
    Expand description

    Function called from generated code to log data. It moves entry by design, it will be absorbed in the queue.

    \ No newline at end of file diff --git a/cu29_log_runtime/fn.log_debug_mode.html b/cu29_log_runtime/fn.log_debug_mode.html index 515b6de57..c2decd6a4 100644 --- a/cu29_log_runtime/fn.log_debug_mode.html +++ b/cu29_log_runtime/fn.log_debug_mode.html @@ -1,4 +1,4 @@ -log_debug_mode in cu29_log_runtime - Rust
    cu29_log_runtime

    Function log_debug_mode

    Source
    pub fn log_debug_mode(
    +log_debug_mode in cu29_log_runtime - Rust
    cu29_log_runtime

    Function log_debug_mode

    Source
    pub fn log_debug_mode(
         entry: &mut CuLogEntry,
         format_str: &str,
         param_names: &[&str],
    diff --git a/cu29_log_runtime/index.html b/cu29_log_runtime/index.html
    index 686b3cadb..474e5a55f 100644
    --- a/cu29_log_runtime/index.html
    +++ b/cu29_log_runtime/index.html
    @@ -1,3 +1,3 @@
    -cu29_log_runtime - Rust

    Crate cu29_log_runtime

    Source

    Structs§

    LoggerRuntime
    The lifetime of this struct is the lifetime of the logger.
    NullLog
    OwningIoWriter
    SimpleFileWriter
    This allows this crate to be used outside of Copper (ie. decoupling it from the unifiedlog.

    Statics§

    EXTRA_TEXT_LOGGER

    Functions§

    log
    Function called from generated code to log data. +cu29_log_runtime - Rust

    Crate cu29_log_runtime

    Source

    Structs§

    LoggerRuntime
    The lifetime of this struct is the lifetime of the logger.
    NullLog
    OwningIoWriter
    SimpleFileWriter
    This allows this crate to be used outside of Copper (ie. decoupling it from the unifiedlog.

    Statics§

    EXTRA_TEXT_LOGGER

    Functions§

    log
    Function called from generated code to log data. It moves entry by design, it will be absorbed in the queue.
    log_debug_mode
    This version of log is only compiled in debug mode This allows a normal logging framework to be bridged.
    \ No newline at end of file diff --git a/cu29_log_runtime/static.EXTRA_TEXT_LOGGER.html b/cu29_log_runtime/static.EXTRA_TEXT_LOGGER.html index e783234dd..67cc61583 100644 --- a/cu29_log_runtime/static.EXTRA_TEXT_LOGGER.html +++ b/cu29_log_runtime/static.EXTRA_TEXT_LOGGER.html @@ -1 +1 @@ -EXTRA_TEXT_LOGGER in cu29_log_runtime - Rust
    cu29_log_runtime

    Static EXTRA_TEXT_LOGGER

    Source
    pub static EXTRA_TEXT_LOGGER: RwLock<Option<Box<dyn Log + 'static>>>
    \ No newline at end of file +EXTRA_TEXT_LOGGER in cu29_log_runtime - Rust
    cu29_log_runtime

    Static EXTRA_TEXT_LOGGER

    Source
    pub static EXTRA_TEXT_LOGGER: RwLock<Option<Box<dyn Log + 'static>>>
    \ No newline at end of file diff --git a/cu29_log_runtime/struct.LoggerRuntime.html b/cu29_log_runtime/struct.LoggerRuntime.html index 28264e402..47f9e66d9 100644 --- a/cu29_log_runtime/struct.LoggerRuntime.html +++ b/cu29_log_runtime/struct.LoggerRuntime.html @@ -1,4 +1,4 @@ -LoggerRuntime in cu29_log_runtime - Rust
    cu29_log_runtime

    Struct LoggerRuntime

    Source
    pub struct LoggerRuntime {}
    Expand description

    The lifetime of this struct is the lifetime of the logger.

    +LoggerRuntime in cu29_log_runtime - Rust
    cu29_log_runtime

    Struct LoggerRuntime

    Source
    pub struct LoggerRuntime {}
    Expand description

    The lifetime of this struct is the lifetime of the logger.

    Implementations§

    Source§

    impl LoggerRuntime

    Source

    pub fn init( clock: RobotClock, destination: impl WriteStream<CuLogEntry> + 'static, diff --git a/cu29_log_runtime/struct.NullLog.html b/cu29_log_runtime/struct.NullLog.html index fcef119fc..bf304872e 100644 --- a/cu29_log_runtime/struct.NullLog.html +++ b/cu29_log_runtime/struct.NullLog.html @@ -1,4 +1,4 @@ -NullLog in cu29_log_runtime - Rust
    cu29_log_runtime

    Struct NullLog

    Source
    pub struct NullLog;

    Trait Implementations§

    Source§

    impl Log for NullLog

    Source§

    fn enabled(&self, _metadata: &Metadata<'_>) -> bool

    Determines if a log message with the specified metadata would be +NullLog in cu29_log_runtime - Rust
    cu29_log_runtime

    Struct NullLog

    Source
    pub struct NullLog;

    Trait Implementations§

    Source§

    impl Log for NullLog

    Source§

    fn enabled(&self, _metadata: &Metadata<'_>) -> bool

    Determines if a log message with the specified metadata would be logged. Read more
    Source§

    fn log(&self, _record: &Record<'_>)

    Logs the Record. Read more
    Source§

    fn flush(&self)

    Flushes any buffered records. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where diff --git a/cu29_log_runtime/struct.OwningIoWriter.html b/cu29_log_runtime/struct.OwningIoWriter.html index bdfd63f54..ec930b2cb 100644 --- a/cu29_log_runtime/struct.OwningIoWriter.html +++ b/cu29_log_runtime/struct.OwningIoWriter.html @@ -1,4 +1,4 @@ -OwningIoWriter in cu29_log_runtime - Rust
    cu29_log_runtime

    Struct OwningIoWriter

    Source
    pub struct OwningIoWriter<W: Write> { /* private fields */ }

    Implementations§

    Source§

    impl<W: Write> OwningIoWriter<W>

    Source

    pub fn new(writer: W) -> Self

    Source

    pub fn bytes_written(&self) -> usize

    Source

    pub fn flush(&mut self) -> Result<(), EncodeError>

    Trait Implementations§

    Source§

    impl<W: Write> Writer for OwningIoWriter<W>

    Source§

    fn write(&mut self, bytes: &[u8]) -> Result<(), EncodeError>

    Write bytes to the underlying writer. Exactly bytes.len() bytes must be written, or else an error should be returned.

    Auto Trait Implementations§

    §

    impl<W> Freeze for OwningIoWriter<W>
    where +OwningIoWriter in cu29_log_runtime - Rust
    cu29_log_runtime

    Struct OwningIoWriter

    Source
    pub struct OwningIoWriter<W: Write> { /* private fields */ }

    Implementations§

    Source§

    impl<W: Write> OwningIoWriter<W>

    Source

    pub fn new(writer: W) -> Self

    Source

    pub fn bytes_written(&self) -> usize

    Source

    pub fn flush(&mut self) -> Result<(), EncodeError>

    Trait Implementations§

    Source§

    impl<W: Write> Writer for OwningIoWriter<W>

    Source§

    fn write(&mut self, bytes: &[u8]) -> Result<(), EncodeError>

    Write bytes to the underlying writer. Exactly bytes.len() bytes must be written, or else an error should be returned.

    Auto Trait Implementations§

    §

    impl<W> Freeze for OwningIoWriter<W>
    where W: Freeze,

    §

    impl<W> RefUnwindSafe for OwningIoWriter<W>
    where W: RefUnwindSafe,

    §

    impl<W> Send for OwningIoWriter<W>
    where W: Send,

    §

    impl<W> Sync for OwningIoWriter<W>
    where diff --git a/cu29_log_runtime/struct.SimpleFileWriter.html b/cu29_log_runtime/struct.SimpleFileWriter.html index de7856f47..8e0020c18 100644 --- a/cu29_log_runtime/struct.SimpleFileWriter.html +++ b/cu29_log_runtime/struct.SimpleFileWriter.html @@ -1,4 +1,4 @@ -SimpleFileWriter in cu29_log_runtime - Rust
    cu29_log_runtime

    Struct SimpleFileWriter

    Source
    pub struct SimpleFileWriter { /* private fields */ }
    Expand description

    This allows this crate to be used outside of Copper (ie. decoupling it from the unifiedlog.

    +SimpleFileWriter in cu29_log_runtime - Rust
    cu29_log_runtime

    Struct SimpleFileWriter

    Source
    pub struct SimpleFileWriter { /* private fields */ }
    Expand description

    This allows this crate to be used outside of Copper (ie. decoupling it from the unifiedlog.

    Implementations§

    Source§

    impl SimpleFileWriter

    Source

    pub fn new(path: &PathBuf) -> CuResult<Self>

    Trait Implementations§

    Source§

    impl Debug for SimpleFileWriter

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl WriteStream<CuLogEntry> for SimpleFileWriter

    Source§

    fn log(&mut self, obj: &CuLogEntry) -> CuResult<()>

    Source§

    fn flush(&mut self) -> CuResult<()>

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where diff --git a/cu29_rendercfg/all.html b/cu29_rendercfg/all.html index 27e6cfb45..a2b2e0764 100644 --- a/cu29_rendercfg/all.html +++ b/cu29_rendercfg/all.html @@ -1 +1 @@ -List of all items in this crate
    \ No newline at end of file +List of all items in this crate
    \ No newline at end of file diff --git a/cu29_rendercfg/config/fn.default_as_true.html b/cu29_rendercfg/config/fn.default_as_true.html index f756823ed..88cb43de1 100644 --- a/cu29_rendercfg/config/fn.default_as_true.html +++ b/cu29_rendercfg/config/fn.default_as_true.html @@ -1 +1 @@ -default_as_true in cu29_rendercfg::config - Rust
    cu29_rendercfg::config

    Function default_as_true

    Source
    fn default_as_true() -> bool
    \ No newline at end of file +default_as_true in cu29_rendercfg::config - Rust
    cu29_rendercfg::config

    Function default_as_true

    Source
    fn default_as_true() -> bool
    \ No newline at end of file diff --git a/cu29_rendercfg/config/fn.read_configuration.html b/cu29_rendercfg/config/fn.read_configuration.html index 6f89548c8..f354a1cda 100644 --- a/cu29_rendercfg/config/fn.read_configuration.html +++ b/cu29_rendercfg/config/fn.read_configuration.html @@ -1,2 +1,2 @@ -read_configuration in cu29_rendercfg::config - Rust
    cu29_rendercfg::config

    Function read_configuration

    Source
    pub fn read_configuration(config_filename: &str) -> CuResult<CuConfig>
    Expand description

    Read a copper configuration from a file.

    +read_configuration in cu29_rendercfg::config - Rust
    cu29_rendercfg::config

    Function read_configuration

    Source
    pub fn read_configuration(config_filename: &str) -> CuResult<CuConfig>
    Expand description

    Read a copper configuration from a file.

    \ No newline at end of file diff --git a/cu29_rendercfg/config/fn.read_configuration_str.html b/cu29_rendercfg/config/fn.read_configuration_str.html index f614a61d9..dad2d701f 100644 --- a/cu29_rendercfg/config/fn.read_configuration_str.html +++ b/cu29_rendercfg/config/fn.read_configuration_str.html @@ -1,2 +1,2 @@ -read_configuration_str in cu29_rendercfg::config - Rust
    cu29_rendercfg::config

    Function read_configuration_str

    Source
    pub fn read_configuration_str(config_content: String) -> CuResult<CuConfig>
    Expand description

    Read a copper configuration from a String.

    +read_configuration_str in cu29_rendercfg::config - Rust
    cu29_rendercfg::config

    Function read_configuration_str

    Source
    pub fn read_configuration_str(config_content: String) -> CuResult<CuConfig>
    Expand description

    Read a copper configuration from a String.

    \ No newline at end of file diff --git a/cu29_rendercfg/config/index.html b/cu29_rendercfg/config/index.html index ae3a34fa6..9c90c987c 100644 --- a/cu29_rendercfg/config/index.html +++ b/cu29_rendercfg/config/index.html @@ -1,4 +1,4 @@ -cu29_rendercfg::config - Rust
    cu29_rendercfg

    Module config

    Source
    Expand description

    This module defines the configuration of the copper runtime. +cu29_rendercfg::config - Rust

    cu29_rendercfg

    Module config

    Source
    Expand description

    This module defines the configuration of the copper runtime. The configuration is a directed graph where nodes are tasks and edges are connections between tasks. The configuration is serialized in the RON format. The configuration is used to generate the runtime code at compile time.

    diff --git a/cu29_rendercfg/config/struct.Cnx.html b/cu29_rendercfg/config/struct.Cnx.html index 816df91f5..a471e6ef5 100644 --- a/cu29_rendercfg/config/struct.Cnx.html +++ b/cu29_rendercfg/config/struct.Cnx.html @@ -1,4 +1,4 @@ -Cnx in cu29_rendercfg::config - Rust
    cu29_rendercfg::config

    Struct Cnx

    Source
    pub struct Cnx {
    +Cnx in cu29_rendercfg::config - Rust
    cu29_rendercfg::config

    Struct Cnx

    Source
    pub struct Cnx {
         src: String,
         dst: String,
         pub msg: String,
    diff --git a/cu29_rendercfg/config/struct.ComponentConfig.html b/cu29_rendercfg/config/struct.ComponentConfig.html
    index 0a6c2efa6..73d4f059d 100644
    --- a/cu29_rendercfg/config/struct.ComponentConfig.html
    +++ b/cu29_rendercfg/config/struct.ComponentConfig.html
    @@ -1,4 +1,4 @@
    -ComponentConfig in cu29_rendercfg::config - Rust
    cu29_rendercfg::config

    Struct ComponentConfig

    Source
    pub struct ComponentConfig(pub HashMap<String, Value>);
    Expand description

    This is the configuration of a component (like a task config or a monitoring config):w +ComponentConfig in cu29_rendercfg::config - Rust

    cu29_rendercfg::config

    Struct ComponentConfig

    Source
    pub struct ComponentConfig(pub HashMap<String, Value>);
    Expand description

    This is the configuration of a component (like a task config or a monitoring config):w It is a map of key-value pairs. It is given to the new method of the task implementation.

    Tuple Fields§

    §0: HashMap<String, Value>

    Implementations§

    Source§

    impl ComponentConfig

    Source

    pub fn new() -> Self

    Source

    pub fn get<T: From<Value>>(&self, key: &str) -> Option<T>

    Source

    pub fn set<T: Into<Value>>(&mut self, key: &str, value: T)

    Trait Implementations§

    Source§

    impl Clone for ComponentConfig

    Source§

    fn clone(&self) -> ComponentConfig

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for ComponentConfig

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for ComponentConfig

    Source§

    fn default() -> ComponentConfig

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for ComponentConfig

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where diff --git a/cu29_rendercfg/config/struct.CuConfig.html b/cu29_rendercfg/config/struct.CuConfig.html index 5383ef002..520f48169 100644 --- a/cu29_rendercfg/config/struct.CuConfig.html +++ b/cu29_rendercfg/config/struct.CuConfig.html @@ -1,4 +1,4 @@ -CuConfig in cu29_rendercfg::config - Rust
    cu29_rendercfg::config

    Struct CuConfig

    Source
    pub struct CuConfig {
    +CuConfig in cu29_rendercfg::config - Rust
    cu29_rendercfg::config

    Struct CuConfig

    Source
    pub struct CuConfig {
         pub graph: StableDiGraph<Node, Cnx, u32>,
         pub monitor: Option<MonitorConfig>,
         pub logging: Option<LoggingConfig>,
    diff --git a/cu29_rendercfg/config/struct.CuConfigRepresentation.html b/cu29_rendercfg/config/struct.CuConfigRepresentation.html
    index 8aa27e531..bc3f71278 100644
    --- a/cu29_rendercfg/config/struct.CuConfigRepresentation.html
    +++ b/cu29_rendercfg/config/struct.CuConfigRepresentation.html
    @@ -1,4 +1,4 @@
    -CuConfigRepresentation in cu29_rendercfg::config - Rust
    cu29_rendercfg::config

    Struct CuConfigRepresentation

    Source
    struct CuConfigRepresentation {
    +CuConfigRepresentation in cu29_rendercfg::config - Rust
    cu29_rendercfg::config

    Struct CuConfigRepresentation

    Source
    struct CuConfigRepresentation {
         tasks: Vec<Node>,
         cnx: Vec<Cnx>,
         monitor: Option<MonitorConfig>,
    diff --git a/cu29_rendercfg/config/struct.LoggingConfig.html b/cu29_rendercfg/config/struct.LoggingConfig.html
    index 0f5e61730..e2637af4e 100644
    --- a/cu29_rendercfg/config/struct.LoggingConfig.html
    +++ b/cu29_rendercfg/config/struct.LoggingConfig.html
    @@ -1,4 +1,4 @@
    -LoggingConfig in cu29_rendercfg::config - Rust
    cu29_rendercfg::config

    Struct LoggingConfig

    Source
    pub struct LoggingConfig {
    +LoggingConfig in cu29_rendercfg::config - Rust
    cu29_rendercfg::config

    Struct LoggingConfig

    Source
    pub struct LoggingConfig {
         pub slab_size_mib: Option<u64>,
         pub section_size_mib: Option<u64>,
         pub enable_task_logging: bool,
    diff --git a/cu29_rendercfg/config/struct.MonitorConfig.html b/cu29_rendercfg/config/struct.MonitorConfig.html
    index 84aaf64aa..1113cd5f7 100644
    --- a/cu29_rendercfg/config/struct.MonitorConfig.html
    +++ b/cu29_rendercfg/config/struct.MonitorConfig.html
    @@ -1,4 +1,4 @@
    -MonitorConfig in cu29_rendercfg::config - Rust
    cu29_rendercfg::config

    Struct MonitorConfig

    Source
    pub struct MonitorConfig {
    +MonitorConfig in cu29_rendercfg::config - Rust
    cu29_rendercfg::config

    Struct MonitorConfig

    Source
    pub struct MonitorConfig {
         type_: String,
         config: Option<ComponentConfig>,
     }

    Fields§

    §type_: String§config: Option<ComponentConfig>

    Implementations§

    Trait Implementations§

    Source§

    impl Clone for MonitorConfig

    Source§

    fn clone(&self) -> MonitorConfig

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for MonitorConfig

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for MonitorConfig

    Source§

    fn default() -> MonitorConfig

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for MonitorConfig

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where diff --git a/cu29_rendercfg/config/struct.Node.html b/cu29_rendercfg/config/struct.Node.html index 95d221cd4..f9b5373f8 100644 --- a/cu29_rendercfg/config/struct.Node.html +++ b/cu29_rendercfg/config/struct.Node.html @@ -1,4 +1,4 @@ -Node in cu29_rendercfg::config - Rust
    cu29_rendercfg::config

    Struct Node

    Source
    pub struct Node {
    +Node in cu29_rendercfg::config - Rust
    cu29_rendercfg::config

    Struct Node

    Source
    pub struct Node {
         id: String,
         type_: Option<String>,
         config: Option<ComponentConfig>,
    diff --git a/cu29_rendercfg/config/struct.Value.html b/cu29_rendercfg/config/struct.Value.html
    index 73b020bc5..5900b394c 100644
    --- a/cu29_rendercfg/config/struct.Value.html
    +++ b/cu29_rendercfg/config/struct.Value.html
    @@ -1,4 +1,4 @@
    -Value in cu29_rendercfg::config - Rust
    cu29_rendercfg::config

    Struct Value

    Source
    pub struct Value(Value);
    Expand description

    Wrapper around the ron::Value to allow for custom serialization.

    +Value in cu29_rendercfg::config - Rust
    cu29_rendercfg::config

    Struct Value

    Source
    pub struct Value(Value);
    Expand description

    Wrapper around the ron::Value to allow for custom serialization.

    Tuple Fields§

    §0: Value

    Trait Implementations§

    Source§

    impl Clone for Value

    Source§

    fn clone(&self) -> Value

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Value

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for Value

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Display for Value

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<String> for Value

    Source§

    fn from(value: String) -> Self

    Converts to this type from the input type.
    Source§

    impl From<Value> for String

    Source§

    fn from(value: Value) -> Self

    Converts to this type from the input type.
    Source§

    impl From<Value> for bool

    Source§

    fn from(value: Value) -> Self

    Converts to this type from the input type.
    Source§

    impl From<Value> for f64

    Source§

    fn from(value: Value) -> Self

    Converts to this type from the input type.
    Source§

    impl From<Value> for i32

    Source§

    fn from(value: Value) -> Self

    Converts to this type from the input type.
    Source§

    impl From<Value> for u32

    Source§

    fn from(value: Value) -> Self

    Converts to this type from the input type.
    Source§

    impl From<Value> for u8

    Source§

    fn from(value: Value) -> Self

    Converts to this type from the input type.
    Source§

    impl From<f64> for Value

    Source§

    fn from(value: f64) -> Self

    Converts to this type from the input type.
    Source§

    impl From<i32> for Value

    Source§

    fn from(value: i32) -> Self

    Converts to this type from the input type.
    Source§

    impl From<u16> for Value

    Source§

    fn from(value: u16) -> Self

    Converts to this type from the input type.
    Source§

    impl From<u32> for Value

    Source§

    fn from(value: u32) -> Self

    Converts to this type from the input type.
    Source§

    impl From<u8> for Value

    Source§

    fn from(value: u8) -> Self

    Converts to this type from the input type.
    Source§

    impl PartialEq for Value

    Source§

    fn eq(&self, other: &Value) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    Source§

    impl Serialize for Value

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where diff --git a/cu29_rendercfg/config/type.NodeId.html b/cu29_rendercfg/config/type.NodeId.html index f7803cfd5..971371c8b 100644 --- a/cu29_rendercfg/config/type.NodeId.html +++ b/cu29_rendercfg/config/type.NodeId.html @@ -1,3 +1,3 @@ -NodeId in cu29_rendercfg::config - Rust
    cu29_rendercfg::config

    Type Alias NodeId

    Source
    pub type NodeId = u32;
    Expand description

    NodeId is the unique identifier of a node in the configuration graph for petgraph +NodeId in cu29_rendercfg::config - Rust

    cu29_rendercfg::config

    Type Alias NodeId

    Source
    pub type NodeId = u32;
    Expand description

    NodeId is the unique identifier of a node in the configuration graph for petgraph and the code generation.

    \ No newline at end of file diff --git a/cu29_rendercfg/enum.UnifiedLogType.html b/cu29_rendercfg/enum.UnifiedLogType.html index 4f54901bd..485da6373 100644 --- a/cu29_rendercfg/enum.UnifiedLogType.html +++ b/cu29_rendercfg/enum.UnifiedLogType.html @@ -1,14 +1,14 @@ -UnifiedLogType in cu29_rendercfg - Rust
    cu29_rendercfg

    Enum UnifiedLogType

    Source
    pub enum UnifiedLogType {
    +UnifiedLogType in cu29_rendercfg - Rust
    cu29_rendercfg

    Enum UnifiedLogType

    pub enum UnifiedLogType {
         Empty,
         StructuredLogLine,
         CopperList,
         LastEntry,
     }
    Expand description

    Defines the types of what can be logged in the unified logger.

    -

    Variants§

    §

    Empty

    §

    StructuredLogLine

    §

    CopperList

    §

    LastEntry

    Trait Implementations§

    Source§

    impl<'__de> BorrowDecode<'__de> for UnifiedLogType

    Source§

    fn borrow_decode<__D>(decoder: &mut __D) -> Result<UnifiedLogType, DecodeError>
    where - __D: BorrowDecoder<'__de>,

    Attempt to decode this type with the given BorrowDecode.
    Source§

    impl Clone for UnifiedLogType

    Source§

    fn clone(&self) -> UnifiedLogType

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for UnifiedLogType

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl Decode for UnifiedLogType

    Source§

    fn decode<__D>(decoder: &mut __D) -> Result<UnifiedLogType, DecodeError>
    where - __D: Decoder,

    Attempt to decode this type with the given Decode.
    Source§

    impl Encode for UnifiedLogType

    Source§

    fn encode<__E>(&self, encoder: &mut __E) -> Result<(), EncodeError>
    where - __E: Encoder,

    Encode a given type.
    Source§

    impl PartialEq for UnifiedLogType

    Source§

    fn eq(&self, other: &UnifiedLogType) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    Source§

    impl Copy for UnifiedLogType

    Source§

    impl StructuralPartialEq for UnifiedLogType

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

    Variants§

    §

    Empty

    §

    StructuredLogLine

    §

    CopperList

    §

    LastEntry

    Trait Implementations§

    §

    impl<'__de> BorrowDecode<'__de> for UnifiedLogType

    §

    fn borrow_decode<__D>(decoder: &mut __D) -> Result<UnifiedLogType, DecodeError>
    where + __D: BorrowDecoder<'__de>,

    Attempt to decode this type with the given BorrowDecode.
    §

    impl Clone for UnifiedLogType

    §

    fn clone(&self) -> UnifiedLogType

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for UnifiedLogType

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Decode for UnifiedLogType

    §

    fn decode<__D>(decoder: &mut __D) -> Result<UnifiedLogType, DecodeError>
    where + __D: Decoder,

    Attempt to decode this type with the given Decode.
    §

    impl Encode for UnifiedLogType

    §

    fn encode<__E>(&self, encoder: &mut __E) -> Result<(), EncodeError>
    where + __E: Encoder,

    Encode a given type.
    §

    impl PartialEq for UnifiedLogType

    §

    fn eq(&self, other: &UnifiedLogType) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    §

    impl Copy for UnifiedLogType

    §

    impl StructuralPartialEq for UnifiedLogType

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where @@ -20,5 +20,5 @@

    Source§

    impl<T> ToOwned for T
    where T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    Source§

    impl<T> CopperListTuple for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> CopperListTuple for T
    where T: Encode + Decode + Debug,

    \ No newline at end of file diff --git a/cu29_rendercfg/fn.main.html b/cu29_rendercfg/fn.main.html index d5ddb1200..07b9f6c26 100644 --- a/cu29_rendercfg/fn.main.html +++ b/cu29_rendercfg/fn.main.html @@ -1,2 +1,2 @@ -main in cu29_rendercfg - Rust
    cu29_rendercfg

    Function main

    Source
    pub(crate) fn main() -> Result<()>
    Expand description

    Render the configuration file to a dot file then convert it to an SVG and optionally opens it with inkscape.

    +main in cu29_rendercfg - Rust
    cu29_rendercfg

    Function main

    Source
    pub(crate) fn main() -> Result<()>
    Expand description

    Render the configuration file to a dot file then convert it to an SVG and optionally opens it with inkscape.

    \ No newline at end of file diff --git a/cu29_rendercfg/index.html b/cu29_rendercfg/index.html index 1b91ac134..12831afdc 100644 --- a/cu29_rendercfg/index.html +++ b/cu29_rendercfg/index.html @@ -1,4 +1,4 @@ -cu29_rendercfg - Rust

    Crate cu29_rendercfg

    Source

    Modules§

    config 🔒
    This module defines the configuration of the copper runtime. +cu29_rendercfg - Rust

    Crate cu29_rendercfg

    Source

    Modules§

    config 🔒
    This module defines the configuration of the copper runtime. The configuration is a directed graph where nodes are tasks and edges are connections between tasks. The configuration is serialized in the RON format. The configuration is used to generate the runtime code at compile time.

    Structs§

    Args 🔒
    CuError
    Common copper Error type.

    Enums§

    UnifiedLogType
    Defines the types of what can be logged in the unified logger.

    Traits§

    CopperListTuple
    A CopperListTuple needs to be encodable, decodable and fixed size in memory.
    WriteStream
    Defines a basic write, append only stream trait to be able to log or send serializable objects.

    Functions§

    main 🔒
    Render the configuration file to a dot file then convert it to an SVG and optionally opens it with inkscape.

    Type Aliases§

    CuResult
    \ No newline at end of file diff --git a/cu29_rendercfg/struct.Args.html b/cu29_rendercfg/struct.Args.html index 33ab06c11..e238ad13f 100644 --- a/cu29_rendercfg/struct.Args.html +++ b/cu29_rendercfg/struct.Args.html @@ -1,4 +1,4 @@ -Args in cu29_rendercfg - Rust
    cu29_rendercfg

    Struct Args

    Source
    pub(crate) struct Args {
    +Args in cu29_rendercfg - Rust
    cu29_rendercfg

    Struct Args

    Source
    pub(crate) struct Args {
         pub(crate) config: PathBuf,
         pub(crate) open: bool,
     }

    Fields§

    §config: PathBuf

    Config file name

    diff --git a/cu29_rendercfg/struct.CuError.html b/cu29_rendercfg/struct.CuError.html index 4d56634ef..91d5e19cd 100644 --- a/cu29_rendercfg/struct.CuError.html +++ b/cu29_rendercfg/struct.CuError.html @@ -1,11 +1,11 @@ -CuError in cu29_rendercfg - Rust
    cu29_rendercfg

    Struct CuError

    Source
    pub struct CuError {
    +CuError in cu29_rendercfg - Rust
    cu29_rendercfg

    Struct CuError

    pub struct CuError {
         pub(crate) message: String,
         pub(crate) cause: Option<String>,
     }
    Expand description

    Common copper Error type.

    -

    Fields§

    §message: String§cause: Option<String>

    Implementations§

    Source§

    impl CuError

    Source

    pub fn new_with_cause(message: &str, cause: impl Error) -> CuError

    Source

    pub fn add_cause(self, context: &str) -> CuError

    Trait Implementations§

    Source§

    impl Clone for CuError

    Source§

    fn clone(&self) -> CuError

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for CuError

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for CuError

    Fields§

    §message: String§cause: Option<String>

    Implementations§

    §

    impl CuError

    pub fn new_with_cause(message: &str, cause: impl Error) -> CuError

    pub fn add_cause(self, context: &str) -> CuError

    Trait Implementations§

    §

    impl Clone for CuError

    §

    fn clone(&self) -> CuError

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for CuError

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for CuError

    §

    fn deserialize<__D>( __deserializer: __D, ) -> Result<CuError, <__D as Deserializer<'de>>::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Display for CuError

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl Error for CuError

    1.30.0 · Source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    Returns the lower-level source of this error, if any. Read more
    1.0.0 · Source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · Source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    Source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type-based access to context intended for error reports. Read more
    Source§

    impl From<&str> for CuError

    Source§

    fn from(s: &str) -> CuError

    Converts to this type from the input type.
    Source§

    impl From<String> for CuError

    Source§

    fn from(s: String) -> CuError

    Converts to this type from the input type.
    Source§

    impl Serialize for CuError

    Source§

    fn serialize<__S>( + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Display for CuError

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Error for CuError

    1.30.0 · Source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    Returns the lower-level source of this error, if any. Read more
    1.0.0 · Source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · Source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    Source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type-based access to context intended for error reports. Read more
    §

    impl From<&str> for CuError

    §

    fn from(s: &str) -> CuError

    Converts to this type from the input type.
    §

    impl From<String> for CuError

    §

    fn from(s: String) -> CuError

    Converts to this type from the input type.
    §

    impl Serialize for CuError

    §

    fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where diff --git a/cu29_rendercfg/trait.CopperListTuple.html b/cu29_rendercfg/trait.CopperListTuple.html index 4c56d93ee..63e0dd699 100644 --- a/cu29_rendercfg/trait.CopperListTuple.html +++ b/cu29_rendercfg/trait.CopperListTuple.html @@ -1,7 +1,7 @@ -CopperListTuple in cu29_rendercfg - Rust
    cu29_rendercfg

    Trait CopperListTuple

    Source
    pub trait CopperListTuple:
    +CopperListTuple in cu29_rendercfg - Rust
    cu29_rendercfg

    Trait CopperListTuple

    pub trait CopperListTuple:
         Sized
         + Encode
         + Decode
         + Debug { }
    Expand description

    A CopperListTuple needs to be encodable, decodable and fixed size in memory.

    -

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    Source§

    impl<T> CopperListTuple for T
    where +

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    §

    impl<T> CopperListTuple for T
    where T: Encode + Decode + Debug,

    \ No newline at end of file diff --git a/cu29_rendercfg/trait.WriteStream.html b/cu29_rendercfg/trait.WriteStream.html index db140d9e4..bdfc34d08 100644 --- a/cu29_rendercfg/trait.WriteStream.html +++ b/cu29_rendercfg/trait.WriteStream.html @@ -1,4 +1,4 @@ -WriteStream in cu29_rendercfg - Rust
    cu29_rendercfg

    Trait WriteStream

    Source
    pub trait WriteStream<E>:
    +WriteStream in cu29_rendercfg - Rust
    cu29_rendercfg

    Trait WriteStream

    pub trait WriteStream<E>:
         Sync
         + Send
         + Debug
    where @@ -9,4 +9,4 @@ // Provided method fn flush(&mut self) -> Result<(), CuError> { ... } }
    Expand description

    Defines a basic write, append only stream trait to be able to log or send serializable objects.

    -

    Required Methods§

    Source

    fn log(&mut self, obj: &E) -> Result<(), CuError>

    Provided Methods§

    Source

    fn flush(&mut self) -> Result<(), CuError>

    Implementors§

    \ No newline at end of file +

    Required Methods§

    fn log(&mut self, obj: &E) -> Result<(), CuError>

    Provided Methods§

    fn flush(&mut self) -> Result<(), CuError>

    Implementors§

    \ No newline at end of file diff --git a/cu29_rendercfg/type.CuResult.html b/cu29_rendercfg/type.CuResult.html index 3d12dcbb1..a585088f3 100644 --- a/cu29_rendercfg/type.CuResult.html +++ b/cu29_rendercfg/type.CuResult.html @@ -1,4 +1,4 @@ -CuResult in cu29_rendercfg - Rust
    cu29_rendercfg

    Type Alias CuResult

    Source
    pub type CuResult<T> = Result<T, CuError>;

    Aliased Type§

    enum CuResult<T> {
    +CuResult in cu29_rendercfg - Rust
    cu29_rendercfg

    Type Alias CuResult

    pub type CuResult<T> = Result<T, CuError>;

    Aliased Type§

    enum CuResult<T> {
         Ok(T),
         Err(CuError),
     }

    Variants§

    §1.0.0

    Ok(T)

    Contains the success value

    diff --git a/cu29_runtime/all.html b/cu29_runtime/all.html index fd9f12f17..75bb1aaf1 100644 --- a/cu29_runtime/all.html +++ b/cu29_runtime/all.html @@ -1 +1 @@ -List of all items in this crate
    \ No newline at end of file +List of all items in this crate
    \ No newline at end of file diff --git a/cu29_runtime/config/fn.read_configuration.html b/cu29_runtime/config/fn.read_configuration.html index 2a95f5ff5..d58deb78f 100644 --- a/cu29_runtime/config/fn.read_configuration.html +++ b/cu29_runtime/config/fn.read_configuration.html @@ -1,2 +1,2 @@ -read_configuration in cu29_runtime::config - Rust
    cu29_runtime::config

    Function read_configuration

    Source
    pub fn read_configuration(config_filename: &str) -> CuResult<CuConfig>
    Expand description

    Read a copper configuration from a file.

    +read_configuration in cu29_runtime::config - Rust
    cu29_runtime::config

    Function read_configuration

    Source
    pub fn read_configuration(config_filename: &str) -> CuResult<CuConfig>
    Expand description

    Read a copper configuration from a file.

    \ No newline at end of file diff --git a/cu29_runtime/config/fn.read_configuration_str.html b/cu29_runtime/config/fn.read_configuration_str.html index 6fc424cc2..28645c00c 100644 --- a/cu29_runtime/config/fn.read_configuration_str.html +++ b/cu29_runtime/config/fn.read_configuration_str.html @@ -1,2 +1,2 @@ -read_configuration_str in cu29_runtime::config - Rust
    cu29_runtime::config

    Function read_configuration_str

    Source
    pub fn read_configuration_str(config_content: String) -> CuResult<CuConfig>
    Expand description

    Read a copper configuration from a String.

    +read_configuration_str in cu29_runtime::config - Rust
    cu29_runtime::config

    Function read_configuration_str

    Source
    pub fn read_configuration_str(config_content: String) -> CuResult<CuConfig>
    Expand description

    Read a copper configuration from a String.

    \ No newline at end of file diff --git a/cu29_runtime/config/index.html b/cu29_runtime/config/index.html index 9197ce914..3af88d3b6 100644 --- a/cu29_runtime/config/index.html +++ b/cu29_runtime/config/index.html @@ -1,4 +1,4 @@ -cu29_runtime::config - Rust
    cu29_runtime

    Module config

    Source
    Expand description

    This module defines the configuration of the copper runtime. +cu29_runtime::config - Rust

    cu29_runtime

    Module config

    Source
    Expand description

    This module defines the configuration of the copper runtime. The configuration is a directed graph where nodes are tasks and edges are connections between tasks. The configuration is serialized in the RON format. The configuration is used to generate the runtime code at compile time.

    diff --git a/cu29_runtime/config/struct.Cnx.html b/cu29_runtime/config/struct.Cnx.html index de1983dcd..919763df6 100644 --- a/cu29_runtime/config/struct.Cnx.html +++ b/cu29_runtime/config/struct.Cnx.html @@ -1,4 +1,4 @@ -Cnx in cu29_runtime::config - Rust
    cu29_runtime::config

    Struct Cnx

    Source
    pub struct Cnx {
    +Cnx in cu29_runtime::config - Rust
    cu29_runtime::config

    Struct Cnx

    Source
    pub struct Cnx {
         pub msg: String,
         pub batch: Option<u32>,
         pub store: Option<bool>,
    diff --git a/cu29_runtime/config/struct.ComponentConfig.html b/cu29_runtime/config/struct.ComponentConfig.html
    index 7ef73d7ed..952dbf7a1 100644
    --- a/cu29_runtime/config/struct.ComponentConfig.html
    +++ b/cu29_runtime/config/struct.ComponentConfig.html
    @@ -1,4 +1,4 @@
    -ComponentConfig in cu29_runtime::config - Rust
    cu29_runtime::config

    Struct ComponentConfig

    Source
    pub struct ComponentConfig(pub HashMap<String, Value>);
    Expand description

    This is the configuration of a component (like a task config or a monitoring config):w +ComponentConfig in cu29_runtime::config - Rust

    cu29_runtime::config

    Struct ComponentConfig

    Source
    pub struct ComponentConfig(pub HashMap<String, Value>);
    Expand description

    This is the configuration of a component (like a task config or a monitoring config):w It is a map of key-value pairs. It is given to the new method of the task implementation.

    Tuple Fields§

    §0: HashMap<String, Value>

    Implementations§

    Source§

    impl ComponentConfig

    Source

    pub fn new() -> Self

    Source

    pub fn get<T: From<Value>>(&self, key: &str) -> Option<T>

    Source

    pub fn set<T: Into<Value>>(&mut self, key: &str, value: T)

    Trait Implementations§

    Source§

    impl Clone for ComponentConfig

    Source§

    fn clone(&self) -> ComponentConfig

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for ComponentConfig

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for ComponentConfig

    Source§

    fn default() -> ComponentConfig

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for ComponentConfig

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where diff --git a/cu29_runtime/config/struct.CuConfig.html b/cu29_runtime/config/struct.CuConfig.html index 2fa548b39..88ccd79c1 100644 --- a/cu29_runtime/config/struct.CuConfig.html +++ b/cu29_runtime/config/struct.CuConfig.html @@ -1,4 +1,4 @@ -CuConfig in cu29_runtime::config - Rust
    cu29_runtime::config

    Struct CuConfig

    Source
    pub struct CuConfig {
    +CuConfig in cu29_runtime::config - Rust
    cu29_runtime::config

    Struct CuConfig

    Source
    pub struct CuConfig {
         pub graph: StableDiGraph<Node, Cnx, NodeId>,
         pub monitor: Option<MonitorConfig>,
         pub logging: Option<LoggingConfig>,
    @@ -28,7 +28,7 @@
     

    Source

    pub fn connect(&mut self, source: NodeId, target: NodeId, msg_type: &str)

    Adds an edge between two nodes/tasks in the configuration graph. msg_type is the type of message exchanged between the two nodes/tasks.

    Source

    pub fn serialize_ron(&self) -> String

    Source

    pub fn deserialize_ron(ron: &str) -> Self

    Source

    pub fn render(&self, output: &mut dyn Write)

    Render the configuration graph in the dot format.

    -
    Source

    pub fn get_all_instances_configs(&self) -> Vec<Option<&ComponentConfig>>

    Source

    pub fn get_monitor_config(&self) -> Option<&MonitorConfig>

    Source

    pub fn validate_logging_config(&self) -> CuResult<()>

    Validate the logging configuration to ensure section pre-allocation sizes do not exceed slab sizes. +

    Source

    pub fn get_all_instances_configs(&self) -> Vec<Option<&ComponentConfig>>

    Source

    pub fn get_monitor_config(&self) -> Option<&MonitorConfig>

    Source

    pub fn validate_logging_config(&self) -> CuResult<()>

    Validate the logging configuration to ensure section pre-allocation sizes do not exceed slab sizes. This method is wrapper around LoggingConfig::validate

    Trait Implementations§

    Source§

    impl Clone for CuConfig

    Source§

    fn clone(&self) -> CuConfig

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for CuConfig

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for CuConfig

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for CuConfig

    Source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where D: Deserializer<'de>,

    This is a custom serialization to make this implementation independent of petgraph.

    diff --git a/cu29_runtime/config/struct.LoggingConfig.html b/cu29_runtime/config/struct.LoggingConfig.html index a58100f14..16b0ebb6f 100644 --- a/cu29_runtime/config/struct.LoggingConfig.html +++ b/cu29_runtime/config/struct.LoggingConfig.html @@ -1,8 +1,8 @@ -LoggingConfig in cu29_runtime::config - Rust
    cu29_runtime::config

    Struct LoggingConfig

    Source
    pub struct LoggingConfig {
    +LoggingConfig in cu29_runtime::config - Rust
    cu29_runtime::config

    Struct LoggingConfig

    Source
    pub struct LoggingConfig {
         pub slab_size_mib: Option<u64>,
         pub section_size_mib: Option<u64>,
         pub enable_task_logging: bool,
    -}

    Fields§

    §slab_size_mib: Option<u64>§section_size_mib: Option<u64>§enable_task_logging: bool

    Implementations§

    Source§

    impl LoggingConfig

    Source

    pub fn validate(&self) -> CuResult<()>

    Validate the logging configuration to ensure section pre-allocation sizes do not exceed slab sizes.

    +}

    Fields§

    §slab_size_mib: Option<u64>§section_size_mib: Option<u64>§enable_task_logging: bool

    Implementations§

    Source§

    impl LoggingConfig

    Source

    pub fn validate(&self) -> CuResult<()>

    Validate the logging configuration to ensure section pre-allocation sizes do not exceed slab sizes.

    Trait Implementations§

    Source§

    impl Clone for LoggingConfig

    Source§

    fn clone(&self) -> LoggingConfig

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for LoggingConfig

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for LoggingConfig

    Source§

    fn default() -> LoggingConfig

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for LoggingConfig

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for LoggingConfig

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where diff --git a/cu29_runtime/config/struct.MonitorConfig.html b/cu29_runtime/config/struct.MonitorConfig.html index 85705d1d1..8a88c7272 100644 --- a/cu29_runtime/config/struct.MonitorConfig.html +++ b/cu29_runtime/config/struct.MonitorConfig.html @@ -1,4 +1,4 @@ -MonitorConfig in cu29_runtime::config - Rust
    cu29_runtime::config

    Struct MonitorConfig

    Source
    pub struct MonitorConfig { /* private fields */ }

    Implementations§

    Trait Implementations§

    Source§

    impl Clone for MonitorConfig

    Source§

    fn clone(&self) -> MonitorConfig

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for MonitorConfig

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for MonitorConfig

    Source§

    fn default() -> MonitorConfig

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for MonitorConfig

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where +MonitorConfig in cu29_runtime::config - Rust
    cu29_runtime::config

    Struct MonitorConfig

    Source
    pub struct MonitorConfig { /* private fields */ }

    Implementations§

    Trait Implementations§

    Source§

    impl Clone for MonitorConfig

    Source§

    fn clone(&self) -> MonitorConfig

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for MonitorConfig

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for MonitorConfig

    Source§

    fn default() -> MonitorConfig

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for MonitorConfig

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for MonitorConfig

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where diff --git a/cu29_runtime/config/struct.Node.html b/cu29_runtime/config/struct.Node.html index 1efc1a805..1e1777472 100644 --- a/cu29_runtime/config/struct.Node.html +++ b/cu29_runtime/config/struct.Node.html @@ -1,4 +1,4 @@ -Node in cu29_runtime::config - Rust
    cu29_runtime::config

    Struct Node

    Source
    pub struct Node { /* private fields */ }
    Expand description

    A node in the configuration graph. +Node in cu29_runtime::config - Rust

    cu29_runtime::config

    Struct Node

    Source
    pub struct Node { /* private fields */ }
    Expand description

    A node in the configuration graph. A node represents a Task in the system Graph.

    Implementations§

    Source§

    impl Node

    Source

    pub fn new(id: &str, ptype: &str) -> Self

    Source

    pub fn get_id(&self) -> String

    Source

    pub fn set_type(self, name: Option<String>) -> Self

    Source

    pub fn get_type(&self) -> &str

    Source

    pub fn get_instance_config(&self) -> Option<&ComponentConfig>

    Source

    pub fn get_param<T: From<Value>>(&self, key: &str) -> Option<T>

    Source

    pub fn set_param<T: Into<Value>>(&mut self, key: &str, value: T)

    Trait Implementations§

    Source§

    impl Clone for Node

    Source§

    fn clone(&self) -> Node

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Node

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for Node

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for Node

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where diff --git a/cu29_runtime/config/struct.Value.html b/cu29_runtime/config/struct.Value.html index 2f40e3fcd..c8dd0b9a7 100644 --- a/cu29_runtime/config/struct.Value.html +++ b/cu29_runtime/config/struct.Value.html @@ -1,4 +1,4 @@ -Value in cu29_runtime::config - Rust
    cu29_runtime::config

    Struct Value

    Source
    pub struct Value(/* private fields */);
    Expand description

    Wrapper around the ron::Value to allow for custom serialization.

    +Value in cu29_runtime::config - Rust
    cu29_runtime::config

    Struct Value

    Source
    pub struct Value(/* private fields */);
    Expand description

    Wrapper around the ron::Value to allow for custom serialization.

    Trait Implementations§

    Source§

    impl Clone for Value

    Source§

    fn clone(&self) -> Value

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Value

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for Value

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Display for Value

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<String> for Value

    Source§

    fn from(value: String) -> Self

    Converts to this type from the input type.
    Source§

    impl From<Value> for String

    Source§

    fn from(value: Value) -> Self

    Converts to this type from the input type.
    Source§

    impl From<Value> for bool

    Source§

    fn from(value: Value) -> Self

    Converts to this type from the input type.
    Source§

    impl From<Value> for f64

    Source§

    fn from(value: Value) -> Self

    Converts to this type from the input type.
    Source§

    impl From<Value> for i32

    Source§

    fn from(value: Value) -> Self

    Converts to this type from the input type.
    Source§

    impl From<Value> for u32

    Source§

    fn from(value: Value) -> Self

    Converts to this type from the input type.
    Source§

    impl From<Value> for u8

    Source§

    fn from(value: Value) -> Self

    Converts to this type from the input type.
    Source§

    impl From<f64> for Value

    Source§

    fn from(value: f64) -> Self

    Converts to this type from the input type.
    Source§

    impl From<i32> for Value

    Source§

    fn from(value: i32) -> Self

    Converts to this type from the input type.
    Source§

    impl From<u16> for Value

    Source§

    fn from(value: u16) -> Self

    Converts to this type from the input type.
    Source§

    impl From<u32> for Value

    Source§

    fn from(value: u32) -> Self

    Converts to this type from the input type.
    Source§

    impl From<u8> for Value

    Source§

    fn from(value: u8) -> Self

    Converts to this type from the input type.
    Source§

    impl PartialEq for Value

    Source§

    fn eq(&self, other: &Value) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    Source§

    impl Serialize for Value

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where diff --git a/cu29_runtime/config/type.NodeId.html b/cu29_runtime/config/type.NodeId.html index 16cb2525a..d429a2533 100644 --- a/cu29_runtime/config/type.NodeId.html +++ b/cu29_runtime/config/type.NodeId.html @@ -1,3 +1,3 @@ -NodeId in cu29_runtime::config - Rust
    cu29_runtime::config

    Type Alias NodeId

    Source
    pub type NodeId = u32;
    Expand description

    NodeId is the unique identifier of a node in the configuration graph for petgraph +NodeId in cu29_runtime::config - Rust

    cu29_runtime::config

    Type Alias NodeId

    Source
    pub type NodeId = u32;
    Expand description

    NodeId is the unique identifier of a node in the configuration graph for petgraph and the code generation.

    \ No newline at end of file diff --git a/cu29_runtime/copperlist/enum.CopperListState.html b/cu29_runtime/copperlist/enum.CopperListState.html index 3a6ec5b4a..f1b909b96 100644 --- a/cu29_runtime/copperlist/enum.CopperListState.html +++ b/cu29_runtime/copperlist/enum.CopperListState.html @@ -1,4 +1,4 @@ -CopperListState in cu29_runtime::copperlist - Rust
    cu29_runtime::copperlist

    Enum CopperListState

    Source
    pub enum CopperListState {
    +CopperListState in cu29_runtime::copperlist - Rust
    cu29_runtime::copperlist

    Enum CopperListState

    Source
    pub enum CopperListState {
         Free,
         Initialized,
         Processing,
    @@ -23,5 +23,5 @@
         T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    Source§

    fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    Source§

    impl<T> CopperListTuple for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> CopperListTuple for T
    where T: Encode + Decode + Debug,

    \ No newline at end of file diff --git a/cu29_runtime/copperlist/index.html b/cu29_runtime/copperlist/index.html index 30da9bd8c..ec299da8f 100644 --- a/cu29_runtime/copperlist/index.html +++ b/cu29_runtime/copperlist/index.html @@ -1,4 +1,4 @@ -cu29_runtime::copperlist - Rust
    cu29_runtime

    Module copperlist

    Source
    Expand description

    CopperList is the main data structure used by Copper to communicate between tasks. +cu29_runtime::copperlist - Rust

    cu29_runtime

    Module copperlist

    Source
    Expand description

    CopperList is the main data structure used by Copper to communicate between tasks. It is a queue that can be used to store preallocated messages between tasks in memory order.

    Structs§

    CopperLiskMask
    Not implemented yet. This mask will be used to for example filter out necessary regions of a copper list between remote systems.
    CopperList
    CuListsManager
    This structure maintains the entire memory needed by Copper for one loop for the inter tasks communication within a process. diff --git a/cu29_runtime/copperlist/struct.CopperLiskMask.html b/cu29_runtime/copperlist/struct.CopperLiskMask.html index cc80e2b3e..b92484a9f 100644 --- a/cu29_runtime/copperlist/struct.CopperLiskMask.html +++ b/cu29_runtime/copperlist/struct.CopperLiskMask.html @@ -1,4 +1,4 @@ -CopperLiskMask in cu29_runtime::copperlist - Rust
    cu29_runtime::copperlist

    Struct CopperLiskMask

    Source
    pub struct CopperLiskMask { /* private fields */ }
    Expand description

    Not implemented yet. +CopperLiskMask in cu29_runtime::copperlist - Rust

    cu29_runtime::copperlist

    Struct CopperLiskMask

    Source
    pub struct CopperLiskMask { /* private fields */ }
    Expand description

    Not implemented yet. This mask will be used to for example filter out necessary regions of a copper list between remote systems.

    Trait Implementations§

    Source§

    impl<'__de> BorrowDecode<'__de> for CopperLiskMask

    Source§

    fn borrow_decode<__D: BorrowDecoder<'__de>>( decoder: &mut __D, @@ -15,5 +15,5 @@

    Source§

    impl<T> ToOwned for T
    where T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    Source§

    impl<T> CopperListTuple for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> CopperListTuple for T
    where T: Encode + Decode + Debug,

    \ No newline at end of file diff --git a/cu29_runtime/copperlist/struct.CopperList.html b/cu29_runtime/copperlist/struct.CopperList.html index 641d11972..4dfac3966 100644 --- a/cu29_runtime/copperlist/struct.CopperList.html +++ b/cu29_runtime/copperlist/struct.CopperList.html @@ -1,13 +1,13 @@ -CopperList in cu29_runtime::copperlist - Rust
    cu29_runtime::copperlist

    Struct CopperList

    Source
    pub struct CopperList<P: CopperListTuple> {
    +CopperList in cu29_runtime::copperlist - Rust
    cu29_runtime::copperlist

    Struct CopperList

    Source
    pub struct CopperList<P: CopperListTuple> {
         pub id: u32,
         pub msgs: P,
         /* private fields */
    -}

    Fields§

    §id: u32§msgs: P

    Implementations§

    Source§

    impl<P: CopperListTuple> CopperList<P>

    Source

    pub fn new(id: u32, msgs: P) -> Self

    Source

    pub fn change_state(&mut self, new_state: CopperListState)

    Source

    pub fn get_state(&self) -> CopperListState

    Trait Implementations§

    Source§

    impl<'__de, P> BorrowDecode<'__de> for CopperList<P>
    where - P: BorrowDecode<'__de> + CopperListTuple,

    Fields§

    §id: u32§msgs: P

    Implementations§

    Source§

    impl<P: CopperListTuple> CopperList<P>

    Source

    pub fn new(id: u32, msgs: P) -> Self

    Source

    pub fn change_state(&mut self, new_state: CopperListState)

    Source

    pub fn get_state(&self) -> CopperListState

    Trait Implementations§

    Source§

    impl<'__de, P> BorrowDecode<'__de> for CopperList<P>
    where + P: BorrowDecode<'__de> + CopperListTuple,

    Source§

    fn borrow_decode<__D: BorrowDecoder<'__de>>( decoder: &mut __D, -) -> Result<Self, DecodeError>

    Attempt to decode this type with the given BorrowDecode.
    Source§

    impl<P: Debug + CopperListTuple> Debug for CopperList<P>

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<P> Decode for CopperList<P>
    where - P: Decode + CopperListTuple,

    Source§

    fn decode<__D: Decoder>(decoder: &mut __D) -> Result<Self, DecodeError>

    Attempt to decode this type with the given Decode.
    Source§

    impl<P> Encode for CopperList<P>
    where - P: Encode + CopperListTuple,

    Source§

    fn encode<__E: Encoder>(&self, encoder: &mut __E) -> Result<(), EncodeError>

    Encode a given type.

    Auto Trait Implementations§

    §

    impl<P> Freeze for CopperList<P>
    where +) -> Result<Self, DecodeError>

    Attempt to decode this type with the given BorrowDecode.
    Source§

    impl<P: Debug + CopperListTuple> Debug for CopperList<P>

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<P> Decode for CopperList<P>
    where + P: Decode + CopperListTuple,

    Source§

    fn decode<__D: Decoder>(decoder: &mut __D) -> Result<Self, DecodeError>

    Attempt to decode this type with the given Decode.
    Source§

    impl<P> Encode for CopperList<P>
    where + P: Encode + CopperListTuple,

    Source§

    fn encode<__E: Encoder>(&self, encoder: &mut __E) -> Result<(), EncodeError>

    Encode a given type.

    Auto Trait Implementations§

    §

    impl<P> Freeze for CopperList<P>
    where P: Freeze,

    §

    impl<P> RefUnwindSafe for CopperList<P>
    where P: RefUnwindSafe,

    §

    impl<P> Send for CopperList<P>
    where P: Send,

    §

    impl<P> Sync for CopperList<P>
    where @@ -23,5 +23,5 @@ From<T> for U chooses to do.

    Source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    Source§

    impl<T> CopperListTuple for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> CopperListTuple for T
    where T: Encode + Decode + Debug,

    \ No newline at end of file diff --git a/cu29_runtime/copperlist/struct.CuListsManager.html b/cu29_runtime/copperlist/struct.CuListsManager.html index 24fb764ee..cba58e66b 100644 --- a/cu29_runtime/copperlist/struct.CuListsManager.html +++ b/cu29_runtime/copperlist/struct.CuListsManager.html @@ -1,7 +1,7 @@ -CuListsManager in cu29_runtime::copperlist - Rust
    cu29_runtime::copperlist

    Struct CuListsManager

    Source
    pub struct CuListsManager<P: CopperListTuple, const N: usize> { /* private fields */ }
    Expand description

    This structure maintains the entire memory needed by Copper for one loop for the inter tasks communication within a process. +CuListsManager in cu29_runtime::copperlist - Rust

    cu29_runtime::copperlist

    Struct CuListsManager

    Source
    pub struct CuListsManager<P: CopperListTuple, const N: usize> { /* private fields */ }
    Expand description

    This structure maintains the entire memory needed by Copper for one loop for the inter tasks communication within a process. P or Payload is typically a Tuple of various types of messages that are exchanged between tasks. N is the maximum number of in flight Copper List the runtime can support.

    -

    Implementations§

    Source§

    impl<P: CopperListTuple, const N: usize> CuListsManager<P, N>

    Source

    pub fn new() -> Self

    Source

    pub fn len(&self) -> usize

    Returns the current number of elements in the queue.

    +

    Implementations§

    Source§

    impl<P: CopperListTuple, const N: usize> CuListsManager<P, N>

    Source

    pub fn new() -> Self

    Source

    pub fn len(&self) -> usize

    Returns the current number of elements in the queue.

    Source

    pub fn is_empty(&self) -> bool

    Returns true if the queue contains no elements.

    Source

    pub fn is_full(&self) -> bool

    Returns true if the queue is full.

    Source

    pub fn clear(&mut self)

    Clears the queue.

    @@ -14,7 +14,7 @@

    The iterator goes from the least recently pushed items to the newest ones.

    Source

    pub fn asc_iter_mut(&mut self) -> AscIterMut<'_, CopperList<P>>

    Returns a mutable ascending iterator over the queue’s contents.

    The iterator goes from the least recently pushed items to the newest ones.

    -

    Trait Implementations§

    Source§

    impl<P: CopperListTuple + Debug, const N: usize> Debug for CuListsManager<P, N>

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<P: CopperListTuple, const N: usize> Default for CuListsManager<P, N>

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    §

    impl<P, const N: usize> Freeze for CuListsManager<P, N>

    §

    impl<P, const N: usize> RefUnwindSafe for CuListsManager<P, N>
    where +

    Trait Implementations§

    Source§

    impl<P: CopperListTuple + Debug, const N: usize> Debug for CuListsManager<P, N>

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<P: CopperListTuple, const N: usize> Default for CuListsManager<P, N>

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    §

    impl<P, const N: usize> Freeze for CuListsManager<P, N>

    §

    impl<P, const N: usize> RefUnwindSafe for CuListsManager<P, N>
    where P: RefUnwindSafe,

    §

    impl<P, const N: usize> Send for CuListsManager<P, N>
    where P: Send,

    §

    impl<P, const N: usize> Sync for CuListsManager<P, N>
    where P: Sync,

    §

    impl<P, const N: usize> Unpin for CuListsManager<P, N>

    §

    impl<P, const N: usize> UnwindSafe for CuListsManager<P, N>
    where diff --git a/cu29_runtime/copperlist/type.AscIter.html b/cu29_runtime/copperlist/type.AscIter.html index e6a4ac376..cc08ffa80 100644 --- a/cu29_runtime/copperlist/type.AscIter.html +++ b/cu29_runtime/copperlist/type.AscIter.html @@ -1 +1 @@ -AscIter in cu29_runtime::copperlist - Rust
    cu29_runtime::copperlist

    Type Alias AscIter

    Source
    pub type AscIter<'a, T> = Chain<Iter<'a, T>, Iter<'a, T>>;

    Aliased Type§

    struct AscIter<'a, T> { /* private fields */ }
    \ No newline at end of file +AscIter in cu29_runtime::copperlist - Rust
    cu29_runtime::copperlist

    Type Alias AscIter

    Source
    pub type AscIter<'a, T> = Chain<Iter<'a, T>, Iter<'a, T>>;

    Aliased Type§

    struct AscIter<'a, T> { /* private fields */ }
    \ No newline at end of file diff --git a/cu29_runtime/copperlist/type.AscIterMut.html b/cu29_runtime/copperlist/type.AscIterMut.html index b2fd0ae90..9a9d020ff 100644 --- a/cu29_runtime/copperlist/type.AscIterMut.html +++ b/cu29_runtime/copperlist/type.AscIterMut.html @@ -1 +1 @@ -AscIterMut in cu29_runtime::copperlist - Rust
    cu29_runtime::copperlist

    Type Alias AscIterMut

    Source
    pub type AscIterMut<'a, T> = Chain<IterMut<'a, T>, IterMut<'a, T>>;

    Aliased Type§

    struct AscIterMut<'a, T> { /* private fields */ }
    \ No newline at end of file +AscIterMut in cu29_runtime::copperlist - Rust
    cu29_runtime::copperlist

    Type Alias AscIterMut

    Source
    pub type AscIterMut<'a, T> = Chain<IterMut<'a, T>, IterMut<'a, T>>;

    Aliased Type§

    struct AscIterMut<'a, T> { /* private fields */ }
    \ No newline at end of file diff --git a/cu29_runtime/copperlist/type.Iter.html b/cu29_runtime/copperlist/type.Iter.html index 1c3c8688c..7ba39da93 100644 --- a/cu29_runtime/copperlist/type.Iter.html +++ b/cu29_runtime/copperlist/type.Iter.html @@ -1 +1 @@ -Iter in cu29_runtime::copperlist - Rust
    cu29_runtime::copperlist

    Type Alias Iter

    Source
    pub type Iter<'a, T> = Chain<Rev<Iter<'a, T>>, Rev<Iter<'a, T>>>;

    Aliased Type§

    struct Iter<'a, T> { /* private fields */ }
    \ No newline at end of file +Iter in cu29_runtime::copperlist - Rust
    cu29_runtime::copperlist

    Type Alias Iter

    Source
    pub type Iter<'a, T> = Chain<Rev<Iter<'a, T>>, Rev<Iter<'a, T>>>;

    Aliased Type§

    struct Iter<'a, T> { /* private fields */ }
    \ No newline at end of file diff --git a/cu29_runtime/copperlist/type.IterMut.html b/cu29_runtime/copperlist/type.IterMut.html index 4a995d170..d77c1b240 100644 --- a/cu29_runtime/copperlist/type.IterMut.html +++ b/cu29_runtime/copperlist/type.IterMut.html @@ -1 +1 @@ -IterMut in cu29_runtime::copperlist - Rust
    cu29_runtime::copperlist

    Type Alias IterMut

    Source
    pub type IterMut<'a, T> = Chain<Rev<IterMut<'a, T>>, Rev<IterMut<'a, T>>>;

    Aliased Type§

    struct IterMut<'a, T> { /* private fields */ }
    \ No newline at end of file +IterMut in cu29_runtime::copperlist - Rust
    cu29_runtime::copperlist

    Type Alias IterMut

    Source
    pub type IterMut<'a, T> = Chain<Rev<IterMut<'a, T>>, Rev<IterMut<'a, T>>>;

    Aliased Type§

    struct IterMut<'a, T> { /* private fields */ }
    \ No newline at end of file diff --git a/cu29_runtime/curuntime/enum.CuExecutionUnit.html b/cu29_runtime/curuntime/enum.CuExecutionUnit.html index b290ae298..510214329 100644 --- a/cu29_runtime/curuntime/enum.CuExecutionUnit.html +++ b/cu29_runtime/curuntime/enum.CuExecutionUnit.html @@ -1,4 +1,4 @@ -CuExecutionUnit in cu29_runtime::curuntime - Rust
    cu29_runtime::curuntime

    Enum CuExecutionUnit

    Source
    pub enum CuExecutionUnit {
    +CuExecutionUnit in cu29_runtime::curuntime - Rust
    cu29_runtime::curuntime

    Enum CuExecutionUnit

    Source
    pub enum CuExecutionUnit {
         Step(CuExecutionStep),
         Loop(CuExecutionLoop),
     }
    Expand description

    This structure represents a step in the execution plan.

    diff --git a/cu29_runtime/curuntime/enum.CuTaskType.html b/cu29_runtime/curuntime/enum.CuTaskType.html index ebabc6d3b..618479b5c 100644 --- a/cu29_runtime/curuntime/enum.CuTaskType.html +++ b/cu29_runtime/curuntime/enum.CuTaskType.html @@ -1,4 +1,4 @@ -CuTaskType in cu29_runtime::curuntime - Rust
    cu29_runtime::curuntime

    Enum CuTaskType

    Source
    pub enum CuTaskType {
    +CuTaskType in cu29_runtime::curuntime - Rust
    cu29_runtime::curuntime

    Enum CuTaskType

    Source
    pub enum CuTaskType {
         Source,
         Regular,
         Sink,
    diff --git a/cu29_runtime/curuntime/fn.compute_runtime_plan.html b/cu29_runtime/curuntime/fn.compute_runtime_plan.html
    index 0440d2797..69f637cfd 100644
    --- a/cu29_runtime/curuntime/fn.compute_runtime_plan.html
    +++ b/cu29_runtime/curuntime/fn.compute_runtime_plan.html
    @@ -1,3 +1,3 @@
    -compute_runtime_plan in cu29_runtime::curuntime - Rust
    cu29_runtime::curuntime

    Function compute_runtime_plan

    Source
    pub fn compute_runtime_plan(config: &CuConfig) -> CuResult<CuExecutionLoop>
    Expand description

    This is the main heuristics to compute an execution plan at compilation time. +compute_runtime_plan in cu29_runtime::curuntime - Rust

    cu29_runtime::curuntime

    Function compute_runtime_plan

    Source
    pub fn compute_runtime_plan(config: &CuConfig) -> CuResult<CuExecutionLoop>
    Expand description

    This is the main heuristics to compute an execution plan at compilation time. TODO: Make that heuristic pluggable.

    \ No newline at end of file diff --git a/cu29_runtime/curuntime/fn.find_task_type_for_id.html b/cu29_runtime/curuntime/fn.find_task_type_for_id.html index aeec0caeb..bc80073f9 100644 --- a/cu29_runtime/curuntime/fn.find_task_type_for_id.html +++ b/cu29_runtime/curuntime/fn.find_task_type_for_id.html @@ -1,4 +1,4 @@ -find_task_type_for_id in cu29_runtime::curuntime - Rust
    cu29_runtime::curuntime

    Function find_task_type_for_id

    Source
    pub fn find_task_type_for_id(
    +find_task_type_for_id in cu29_runtime::curuntime - Rust
    cu29_runtime::curuntime

    Function find_task_type_for_id

    Source
    pub fn find_task_type_for_id(
         graph: &StableDiGraph<Node, Cnx, NodeId>,
         node_id: NodeId,
     ) -> CuTaskType
    \ No newline at end of file diff --git a/cu29_runtime/curuntime/index.html b/cu29_runtime/curuntime/index.html index 4a66a9adb..03e3cdf3b 100644 --- a/cu29_runtime/curuntime/index.html +++ b/cu29_runtime/curuntime/index.html @@ -1,4 +1,4 @@ -cu29_runtime::curuntime - Rust
    cu29_runtime

    Module curuntime

    Source
    Expand description

    CuRuntime is the heart of what copper is running on the robot. +cu29_runtime::curuntime - Rust

    cu29_runtime

    Module curuntime

    Source
    Expand description

    CuRuntime is the heart of what copper is running on the robot. It is exposed to the user via the copper_runtime macro injecting it as a field in their application struct.

    Structs§

    CopperContext
    Just a simple struct to hold the various bits needed to run a Copper application.
    CuExecutionLoop
    This structure represents a loop in the execution plan. It is used to represent a sequence of Execution units (loop or steps) that are executed diff --git a/cu29_runtime/curuntime/struct.CopperContext.html b/cu29_runtime/curuntime/struct.CopperContext.html index 0455e3f19..bb592fdbe 100644 --- a/cu29_runtime/curuntime/struct.CopperContext.html +++ b/cu29_runtime/curuntime/struct.CopperContext.html @@ -1,9 +1,9 @@ -CopperContext in cu29_runtime::curuntime - Rust
    cu29_runtime::curuntime

    Struct CopperContext

    Source
    pub struct CopperContext {
    -    pub unified_logger: Arc<Mutex<UnifiedLoggerWrite>>,
    -    pub logger_runtime: LoggerRuntime,
    -    pub clock: RobotClock,
    +CopperContext in cu29_runtime::curuntime - Rust
    cu29_runtime::curuntime

    Struct CopperContext

    Source
    pub struct CopperContext {
    +    pub unified_logger: Arc<Mutex<UnifiedLoggerWrite>>,
    +    pub logger_runtime: LoggerRuntime,
    +    pub clock: RobotClock,
     }
    Expand description

    Just a simple struct to hold the various bits needed to run a Copper application.

    -

    Fields§

    §unified_logger: Arc<Mutex<UnifiedLoggerWrite>>§logger_runtime: LoggerRuntime§clock: RobotClock

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

    Fields§

    §unified_logger: Arc<Mutex<UnifiedLoggerWrite>>§logger_runtime: LoggerRuntime§clock: RobotClock

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/cu29_runtime/curuntime/struct.CuExecutionLoop.html b/cu29_runtime/curuntime/struct.CuExecutionLoop.html index 790625fb2..75fdaff23 100644 --- a/cu29_runtime/curuntime/struct.CuExecutionLoop.html +++ b/cu29_runtime/curuntime/struct.CuExecutionLoop.html @@ -1,4 +1,4 @@ -CuExecutionLoop in cu29_runtime::curuntime - Rust
    cu29_runtime::curuntime

    Struct CuExecutionLoop

    Source
    pub struct CuExecutionLoop {
    +CuExecutionLoop in cu29_runtime::curuntime - Rust
    cu29_runtime::curuntime

    Struct CuExecutionLoop

    Source
    pub struct CuExecutionLoop {
         pub steps: Vec<CuExecutionUnit>,
         pub loop_count: Option<u32>,
     }
    Expand description

    This structure represents a loop in the execution plan. diff --git a/cu29_runtime/curuntime/struct.CuExecutionStep.html b/cu29_runtime/curuntime/struct.CuExecutionStep.html index 1de134389..409a975d3 100644 --- a/cu29_runtime/curuntime/struct.CuExecutionStep.html +++ b/cu29_runtime/curuntime/struct.CuExecutionStep.html @@ -1,4 +1,4 @@ -CuExecutionStep in cu29_runtime::curuntime - Rust

    cu29_runtime::curuntime

    Struct CuExecutionStep

    Source
    pub struct CuExecutionStep {
    +CuExecutionStep in cu29_runtime::curuntime - Rust
    cu29_runtime::curuntime

    Struct CuExecutionStep

    Source
    pub struct CuExecutionStep {
         pub node_id: NodeId,
         pub node: Node,
         pub task_type: CuTaskType,
    diff --git a/cu29_runtime/curuntime/struct.CuRuntime.html b/cu29_runtime/curuntime/struct.CuRuntime.html
    index 0458e8d48..04770894d 100644
    --- a/cu29_runtime/curuntime/struct.CuRuntime.html
    +++ b/cu29_runtime/curuntime/struct.CuRuntime.html
    @@ -1,23 +1,23 @@
    -CuRuntime in cu29_runtime::curuntime - Rust
    cu29_runtime::curuntime

    Struct CuRuntime

    Source
    pub struct CuRuntime<CT, P: CopperListTuple, M: CuMonitor, const NBCL: usize> {
    +CuRuntime in cu29_runtime::curuntime - Rust
    cu29_runtime::curuntime

    Struct CuRuntime

    Source
    pub struct CuRuntime<CT, P: CopperListTuple, M: CuMonitor, const NBCL: usize> {
         pub tasks: CT,
         pub monitor: M,
         pub copper_lists_manager: CuListsManager<P, NBCL>,
    -    pub clock: RobotClock,
    +    pub clock: RobotClock,
         /* private fields */
     }
    Expand description

    This is the main structure that will be injected as a member of the Application struct. CT is the tuple of all the tasks in order of execution. CL is the type of the copper list, representing the input/output messages for all the tasks.

    Fields§

    §tasks: CT

    The tuple of all the tasks in order of execution.

    §monitor: M§copper_lists_manager: CuListsManager<P, NBCL>

    Copper lists hold in order all the input/output messages for all the tasks.

    -
    §clock: RobotClock

    The base clock the runtime will be using to record time.

    -

    Implementations§

    Source§

    impl<CT, P: CopperListTuple + 'static, M: CuMonitor, const NBCL: usize> CuRuntime<CT, P, M, NBCL>

    Source

    pub fn new( - clock: RobotClock, +

    §clock: RobotClock

    The base clock the runtime will be using to record time.

    +

    Implementations§

    Source§

    impl<CT, P: CopperListTuple + 'static, M: CuMonitor, const NBCL: usize> CuRuntime<CT, P, M, NBCL>

    Source

    pub fn new( + clock: RobotClock, config: &CuConfig, - tasks_instanciator: impl Fn(Vec<Option<&ComponentConfig>>) -> CuResult<CT>, + tasks_instanciator: impl Fn(Vec<Option<&ComponentConfig>>) -> CuResult<CT>, monitor_instanciator: impl Fn(&CuConfig) -> M, - logger: impl WriteStream<CopperList<P>> + 'static, -) -> CuResult<Self>

    Source

    pub fn available_copper_lists(&self) -> usize

    Source

    pub fn end_of_processing(&mut self, culistid: u32)

    Trait Implementations§

    Source§

    impl<CT, P: CopperListTuple, M: CuMonitor, const NBCL: usize> ClockProvider for CuRuntime<CT, P, M, NBCL>

    To be able to share the clock we make the runtime a clock provider.

    -

    Auto Trait Implementations§

    §

    impl<CT, P, M, const NBCL: usize> Freeze for CuRuntime<CT, P, M, NBCL>
    where + logger: impl WriteStream<CopperList<P>> + 'static, +) -> CuResult<Self>

    Source

    pub fn available_copper_lists(&self) -> usize

    Source

    pub fn end_of_processing(&mut self, culistid: u32)

    Trait Implementations§

    Source§

    impl<CT, P: CopperListTuple, M: CuMonitor, const NBCL: usize> ClockProvider for CuRuntime<CT, P, M, NBCL>

    To be able to share the clock we make the runtime a clock provider.

    +
    Source§

    fn get_clock(&self) -> RobotClock

    Auto Trait Implementations§

    §

    impl<CT, P, M, const NBCL: usize> Freeze for CuRuntime<CT, P, M, NBCL>
    where CT: Freeze, M: Freeze,

    §

    impl<CT, P, M, const NBCL: usize> !RefUnwindSafe for CuRuntime<CT, P, M, NBCL>

    §

    impl<CT, P, M, const NBCL: usize> Send for CuRuntime<CT, P, M, NBCL>
    where CT: Send, diff --git a/cu29_runtime/cutask/index.html b/cu29_runtime/cutask/index.html index 031503343..9809f1f48 100644 --- a/cu29_runtime/cutask/index.html +++ b/cu29_runtime/cutask/index.html @@ -1,4 +1,4 @@ -cu29_runtime::cutask - Rust
    cu29_runtime

    Module cutask

    Source
    Expand description

    This module contains all the main definition of the traits you need to implement +cu29_runtime::cutask - Rust

    cu29_runtime

    Module cutask

    Source
    Expand description

    This module contains all the main definition of the traits you need to implement or interact with to create a Copper task.

    Structs§

    CuCompactString
    CuMsg
    CuMsg is the envelope holding the msg payload and the metadata between tasks.
    CuMsgMetadata
    CuMsgMetadata is a structure that contains metadata common to all CuMsgs.

    Traits§

    CuMsgPack
    CuMsgPayload
    CuSinkTask
    A Sink Task is a task that only consumes messages. For example drivers for actuators are Sink Tasks.
    CuSrcTask
    A Src Task is a task that only produces messages. For example drivers for sensors are Src Tasks. They are in push mode from the runtime. diff --git a/cu29_runtime/cutask/struct.CuCompactString.html b/cu29_runtime/cutask/struct.CuCompactString.html index bb4e19519..970dc98b6 100644 --- a/cu29_runtime/cutask/struct.CuCompactString.html +++ b/cu29_runtime/cutask/struct.CuCompactString.html @@ -1,4 +1,4 @@ -CuCompactString in cu29_runtime::cutask - Rust
    cu29_runtime::cutask

    Struct CuCompactString

    Source
    pub struct CuCompactString(pub CompactString);

    Tuple Fields§

    §0: CompactString

    Trait Implementations§

    Source§

    impl<'de> BorrowDecode<'de> for CuCompactString

    Source§

    fn borrow_decode<D: BorrowDecoder<'de>>( +CuCompactString in cu29_runtime::cutask - Rust
    cu29_runtime::cutask

    Struct CuCompactString

    Source
    pub struct CuCompactString(pub CompactString);

    Tuple Fields§

    §0: CompactString

    Trait Implementations§

    Source§

    impl<'de> BorrowDecode<'de> for CuCompactString

    Source§

    fn borrow_decode<D: BorrowDecoder<'de>>( decoder: &mut D, ) -> Result<Self, DecodeError>

    Attempt to decode this type with the given BorrowDecode.
    Source§

    impl Clone for CuCompactString

    Source§

    fn clone(&self) -> CuCompactString

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for CuCompactString

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Decode for CuCompactString

    Source§

    fn decode<D: Decoder>(decoder: &mut D) -> Result<Self, DecodeError>

    Attempt to decode this type with the given Decode.
    Source§

    impl Default for CuCompactString

    Source§

    fn default() -> CuCompactString

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for CuCompactString

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Encode for CuCompactString

    Source§

    fn encode<E: Encoder>(&self, encoder: &mut E) -> Result<(), EncodeError>

    Encode a given type.
    Source§

    impl PartialEq for CuCompactString

    Source§

    fn eq(&self, other: &CuCompactString) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, @@ -19,7 +19,7 @@
    Source§

    impl<T> ToOwned for T
    where T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    Source§

    impl<T> CopperListTuple for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> CopperListTuple for T
    where T: Encode + Decode + Debug,

    Source§

    impl<T> CuMsgPayload for T
    where T: Default + Debug + Clone + Encode + Decode,

    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/cu29_runtime/cutask/struct.CuMsg.html b/cu29_runtime/cutask/struct.CuMsg.html index 0209c1937..963e660be 100644 --- a/cu29_runtime/cutask/struct.CuMsg.html +++ b/cu29_runtime/cutask/struct.CuMsg.html @@ -1,4 +1,4 @@ -CuMsg in cu29_runtime::cutask - Rust
    cu29_runtime::cutask

    Struct CuMsg

    Source
    pub struct CuMsg<T>
    where +CuMsg in cu29_runtime::cutask - Rust
    cu29_runtime::cutask

    Struct CuMsg

    Source
    pub struct CuMsg<T>
    where T: CuMsgPayload,
    { pub metadata: CuMsgMetadata, /* private fields */ @@ -31,6 +31,6 @@

    Source§

    impl<T> ToOwned for T
    where T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    Source§

    impl<T> CopperListTuple for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> CopperListTuple for T
    where T: Encode + Decode + Debug,

    Source§

    impl<T> CuMsgPayload for T
    where T: Default + Debug + Clone + Encode + Decode,

    \ No newline at end of file diff --git a/cu29_runtime/cutask/struct.CuMsgMetadata.html b/cu29_runtime/cutask/struct.CuMsgMetadata.html index 3d443d968..e8eee94db 100644 --- a/cu29_runtime/cutask/struct.CuMsgMetadata.html +++ b/cu29_runtime/cutask/struct.CuMsgMetadata.html @@ -1,10 +1,10 @@ -CuMsgMetadata in cu29_runtime::cutask - Rust
    cu29_runtime::cutask

    Struct CuMsgMetadata

    Source
    pub struct CuMsgMetadata {
    -    pub process_time: PartialCuTimeRange,
    -    pub tov: Tov,
    +CuMsgMetadata in cu29_runtime::cutask - Rust
    cu29_runtime::cutask

    Struct CuMsgMetadata

    Source
    pub struct CuMsgMetadata {
    +    pub process_time: PartialCuTimeRange,
    +    pub tov: Tov,
         pub status_txt: CuCompactString,
     }
    Expand description

    CuMsgMetadata is a structure that contains metadata common to all CuMsgs.

    -

    Fields§

    §process_time: PartialCuTimeRange

    The time range used for the processing of this message

    -
    §tov: Tov

    The time of validity of the message. +

    Fields§

    §process_time: PartialCuTimeRange

    The time range used for the processing of this message

    +
    §tov: Tov

    The time of validity of the message. It can be undefined (None), one measure point or a range of measures (TimeRange).

    §status_txt: CuCompactString

    A small string for real time feedback purposes. This is useful for to display on the field when the tasks are operating correctly.

    @@ -26,7 +26,7 @@ T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    Source§

    fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    Source§

    impl<T> CopperListTuple for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> CopperListTuple for T
    where T: Encode + Decode + Debug,

    Source§

    impl<T> CuMsgPayload for T
    where T: Default + Debug + Clone + Encode + Decode,

    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/cu29_runtime/cutask/trait.CuMsgPack.html b/cu29_runtime/cutask/trait.CuMsgPack.html index e2bff5722..786c51df5 100644 --- a/cu29_runtime/cutask/trait.CuMsgPack.html +++ b/cu29_runtime/cutask/trait.CuMsgPack.html @@ -1 +1 @@ -CuMsgPack in cu29_runtime::cutask - Rust
    cu29_runtime::cutask

    Trait CuMsgPack

    Source
    pub trait CuMsgPack<'cl> { }

    Implementations on Foreign Types§

    Source§

    impl CuMsgPack<'_> for ()

    Source§

    impl<'cl, T1: CuMsgPayload + 'cl, T2: CuMsgPayload + 'cl> CuMsgPack<'cl> for (&'cl CuMsg<T1>, &'cl CuMsg<T2>)

    Source§

    impl<'cl, T1: CuMsgPayload + 'cl, T2: CuMsgPayload + 'cl, T3: CuMsgPayload + 'cl> CuMsgPack<'cl> for (&'cl CuMsg<T1>, &'cl CuMsg<T2>, &'cl CuMsg<T3>)

    Source§

    impl<'cl, T1: CuMsgPayload + 'cl, T2: CuMsgPayload + 'cl, T3: CuMsgPayload + 'cl, T4: CuMsgPayload + 'cl> CuMsgPack<'cl> for (&'cl CuMsg<T1>, &'cl CuMsg<T2>, &'cl CuMsg<T3>, &'cl CuMsg<T4>)

    Source§

    impl<'cl, T1: CuMsgPayload + 'cl, T2: CuMsgPayload + 'cl, T3: CuMsgPayload + 'cl, T4: CuMsgPayload + 'cl, T5: CuMsgPayload + 'cl> CuMsgPack<'cl> for (&'cl CuMsg<T1>, &'cl CuMsg<T2>, &'cl CuMsg<T3>, &'cl CuMsg<T4>, &'cl CuMsg<T5>)

    Source§

    impl<'cl, T: CuMsgPayload> CuMsgPack<'cl> for (&'cl CuMsg<T>,)

    Source§

    impl<'cl, T: CuMsgPayload> CuMsgPack<'cl> for (&'cl mut CuMsg<T>,)

    Implementors§

    Source§

    impl<'cl, T: CuMsgPayload> CuMsgPack<'cl> for &'cl CuMsg<T>

    Source§

    impl<'cl, T: CuMsgPayload> CuMsgPack<'cl> for &'cl mut CuMsg<T>

    \ No newline at end of file +CuMsgPack in cu29_runtime::cutask - Rust
    cu29_runtime::cutask

    Trait CuMsgPack

    Source
    pub trait CuMsgPack<'cl> { }

    Implementations on Foreign Types§

    Source§

    impl CuMsgPack<'_> for ()

    Source§

    impl<'cl, T1: CuMsgPayload + 'cl, T2: CuMsgPayload + 'cl> CuMsgPack<'cl> for (&'cl CuMsg<T1>, &'cl CuMsg<T2>)

    Source§

    impl<'cl, T1: CuMsgPayload + 'cl, T2: CuMsgPayload + 'cl, T3: CuMsgPayload + 'cl> CuMsgPack<'cl> for (&'cl CuMsg<T1>, &'cl CuMsg<T2>, &'cl CuMsg<T3>)

    Source§

    impl<'cl, T1: CuMsgPayload + 'cl, T2: CuMsgPayload + 'cl, T3: CuMsgPayload + 'cl, T4: CuMsgPayload + 'cl> CuMsgPack<'cl> for (&'cl CuMsg<T1>, &'cl CuMsg<T2>, &'cl CuMsg<T3>, &'cl CuMsg<T4>)

    Source§

    impl<'cl, T1: CuMsgPayload + 'cl, T2: CuMsgPayload + 'cl, T3: CuMsgPayload + 'cl, T4: CuMsgPayload + 'cl, T5: CuMsgPayload + 'cl> CuMsgPack<'cl> for (&'cl CuMsg<T1>, &'cl CuMsg<T2>, &'cl CuMsg<T3>, &'cl CuMsg<T4>, &'cl CuMsg<T5>)

    Source§

    impl<'cl, T: CuMsgPayload> CuMsgPack<'cl> for (&'cl CuMsg<T>,)

    Source§

    impl<'cl, T: CuMsgPayload> CuMsgPack<'cl> for (&'cl mut CuMsg<T>,)

    Implementors§

    Source§

    impl<'cl, T: CuMsgPayload> CuMsgPack<'cl> for &'cl CuMsg<T>

    Source§

    impl<'cl, T: CuMsgPayload> CuMsgPack<'cl> for &'cl mut CuMsg<T>

    \ No newline at end of file diff --git a/cu29_runtime/cutask/trait.CuMsgPayload.html b/cu29_runtime/cutask/trait.CuMsgPayload.html index c82dcdbef..f83047feb 100644 --- a/cu29_runtime/cutask/trait.CuMsgPayload.html +++ b/cu29_runtime/cutask/trait.CuMsgPayload.html @@ -1,4 +1,4 @@ -CuMsgPayload in cu29_runtime::cutask - Rust
    cu29_runtime::cutask

    Trait CuMsgPayload

    Source
    pub trait CuMsgPayload:
    +CuMsgPayload in cu29_runtime::cutask - Rust
    cu29_runtime::cutask

    Trait CuMsgPayload

    Source
    pub trait CuMsgPayload:
         Default
         + Debug
         + Clone
    diff --git a/cu29_runtime/cutask/trait.CuSinkTask.html b/cu29_runtime/cutask/trait.CuSinkTask.html
    index 2c958cd85..6847fa4ec 100644
    --- a/cu29_runtime/cutask/trait.CuSinkTask.html
    +++ b/cu29_runtime/cutask/trait.CuSinkTask.html
    @@ -1,33 +1,33 @@
    -CuSinkTask in cu29_runtime::cutask - Rust
    cu29_runtime::cutask

    Trait CuSinkTask

    Source
    pub trait CuSinkTask<'cl>: Freezable {
    +CuSinkTask in cu29_runtime::cutask - Rust
    cu29_runtime::cutask

    Trait CuSinkTask

    Source
    pub trait CuSinkTask<'cl>: Freezable {
         type Input: CuMsgPack<'cl>;
     
         // Required methods
    -    fn new(_config: Option<&ComponentConfig>) -> CuResult<Self>
    +    fn new(_config: Option<&ComponentConfig>) -> CuResult<Self>
            where Self: Sized;
         fn process(
             &mut self,
    -        _clock: &RobotClock,
    +        _clock: &RobotClock,
             input: Self::Input,
    -    ) -> CuResult<()>;
    +    ) -> CuResult<()>;
     
         // Provided methods
    -    fn start(&mut self, _clock: &RobotClock) -> CuResult<()> { ... }
    -    fn preprocess(&mut self, _clock: &RobotClock) -> CuResult<()> { ... }
    -    fn postprocess(&mut self, _clock: &RobotClock) -> CuResult<()> { ... }
    -    fn stop(&mut self, _clock: &RobotClock) -> CuResult<()> { ... }
    +    fn start(&mut self, _clock: &RobotClock) -> CuResult<()> { ... }
    +    fn preprocess(&mut self, _clock: &RobotClock) -> CuResult<()> { ... }
    +    fn postprocess(&mut self, _clock: &RobotClock) -> CuResult<()> { ... }
    +    fn stop(&mut self, _clock: &RobotClock) -> CuResult<()> { ... }
     }
    Expand description

    A Sink Task is a task that only consumes messages. For example drivers for actuators are Sink Tasks.

    -

    Required Associated Types§

    Required Methods§

    Source

    fn new(_config: Option<&ComponentConfig>) -> CuResult<Self>
    where +

    Required Associated Types§

    Required Methods§

    Source

    fn new(_config: Option<&ComponentConfig>) -> CuResult<Self>
    where Self: Sized,

    Here you need to initialize everything your task will need for the duration of its lifetime. The config allows you to access the configuration of the task.

    -
    Source

    fn process(&mut self, _clock: &RobotClock, input: Self::Input) -> CuResult<()>

    Process is the most critical execution of the task. +

    Source

    fn process(&mut self, _clock: &RobotClock, input: Self::Input) -> CuResult<()>

    Process is the most critical execution of the task. The goal will be to produce the output message as soon as possible. Use preprocess to prepare the task to make this method as short as possible.

    -

    Provided Methods§

    Source

    fn start(&mut self, _clock: &RobotClock) -> CuResult<()>

    Start is called between the creation of the task and the first call to pre/process.

    -
    Source

    fn preprocess(&mut self, _clock: &RobotClock) -> CuResult<()>

    This is a method called by the runtime before “process”. This is a kind of best effort, +

    Provided Methods§

    Source

    fn start(&mut self, _clock: &RobotClock) -> CuResult<()>

    Start is called between the creation of the task and the first call to pre/process.

    +
    Source

    fn preprocess(&mut self, _clock: &RobotClock) -> CuResult<()>

    This is a method called by the runtime before “process”. This is a kind of best effort, as soon as possible call to give a chance for the task to do some work before to prepare to make “process” as short as possible.

    -
    Source

    fn postprocess(&mut self, _clock: &RobotClock) -> CuResult<()>

    This is a method called by the runtime after “process”. It is best effort a chance for +

    Source

    fn postprocess(&mut self, _clock: &RobotClock) -> CuResult<()>

    This is a method called by the runtime after “process”. It is best effort a chance for the task to update some state after process is out of the way. It can be use for example to maintain statistics etc. that are not time-critical for the robot.

    -
    Source

    fn stop(&mut self, _clock: &RobotClock) -> CuResult<()>

    Called to stop the task. It signals that the *process method won’t be called until start is called again.

    +
    Source

    fn stop(&mut self, _clock: &RobotClock) -> CuResult<()>

    Called to stop the task. It signals that the *process method won’t be called until start is called again.

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    Source§

    impl<'cl, T: CuMsgPayload + 'cl> CuSinkTask<'cl> for CuSimSinkTask<T>

    Source§

    type Input = &'cl CuMsg<T>

    \ No newline at end of file diff --git a/cu29_runtime/cutask/trait.CuSrcTask.html b/cu29_runtime/cutask/trait.CuSrcTask.html index ffe21c594..181a27887 100644 --- a/cu29_runtime/cutask/trait.CuSrcTask.html +++ b/cu29_runtime/cutask/trait.CuSrcTask.html @@ -1,36 +1,36 @@ -CuSrcTask in cu29_runtime::cutask - Rust
    cu29_runtime::cutask

    Trait CuSrcTask

    Source
    pub trait CuSrcTask<'cl>: Freezable {
    +CuSrcTask in cu29_runtime::cutask - Rust
    cu29_runtime::cutask

    Trait CuSrcTask

    Source
    pub trait CuSrcTask<'cl>: Freezable {
         type Output: CuMsgPack<'cl>;
     
         // Required methods
    -    fn new(_config: Option<&ComponentConfig>) -> CuResult<Self>
    +    fn new(_config: Option<&ComponentConfig>) -> CuResult<Self>
            where Self: Sized;
         fn process(
             &mut self,
    -        clock: &RobotClock,
    +        clock: &RobotClock,
             new_msg: Self::Output,
    -    ) -> CuResult<()>;
    +    ) -> CuResult<()>;
     
         // Provided methods
    -    fn start(&mut self, _clock: &RobotClock) -> CuResult<()> { ... }
    -    fn preprocess(&mut self, _clock: &RobotClock) -> CuResult<()> { ... }
    -    fn postprocess(&mut self, _clock: &RobotClock) -> CuResult<()> { ... }
    -    fn stop(&mut self, _clock: &RobotClock) -> CuResult<()> { ... }
    +    fn start(&mut self, _clock: &RobotClock) -> CuResult<()> { ... }
    +    fn preprocess(&mut self, _clock: &RobotClock) -> CuResult<()> { ... }
    +    fn postprocess(&mut self, _clock: &RobotClock) -> CuResult<()> { ... }
    +    fn stop(&mut self, _clock: &RobotClock) -> CuResult<()> { ... }
     }
    Expand description

    A Src Task is a task that only produces messages. For example drivers for sensors are Src Tasks. They are in push mode from the runtime. To set the frequency of the pulls and align them to any hw, see the runtime configuration. Note: A source has the privilege to have a clock passed to it vs a frozen clock.

    -

    Required Associated Types§

    Required Methods§

    Source

    fn new(_config: Option<&ComponentConfig>) -> CuResult<Self>
    where +

    Required Associated Types§

    Required Methods§

    Source

    fn new(_config: Option<&ComponentConfig>) -> CuResult<Self>
    where Self: Sized,

    Here you need to initialize everything your task will need for the duration of its lifetime. The config allows you to access the configuration of the task.

    -
    Source

    fn process(&mut self, clock: &RobotClock, new_msg: Self::Output) -> CuResult<()>

    Process is the most critical execution of the task. +

    Source

    fn process(&mut self, clock: &RobotClock, new_msg: Self::Output) -> CuResult<()>

    Process is the most critical execution of the task. The goal will be to produce the output message as soon as possible. Use preprocess to prepare the task to make this method as short as possible.

    -

    Provided Methods§

    Source

    fn start(&mut self, _clock: &RobotClock) -> CuResult<()>

    Start is called between the creation of the task and the first call to pre/process.

    -
    Source

    fn preprocess(&mut self, _clock: &RobotClock) -> CuResult<()>

    This is a method called by the runtime before “process”. This is a kind of best effort, +

    Provided Methods§

    Source

    fn start(&mut self, _clock: &RobotClock) -> CuResult<()>

    Start is called between the creation of the task and the first call to pre/process.

    +
    Source

    fn preprocess(&mut self, _clock: &RobotClock) -> CuResult<()>

    This is a method called by the runtime before “process”. This is a kind of best effort, as soon as possible call to give a chance for the task to do some work before to prepare to make “process” as short as possible.

    -
    Source

    fn postprocess(&mut self, _clock: &RobotClock) -> CuResult<()>

    This is a method called by the runtime after “process”. It is best effort a chance for +

    Source

    fn postprocess(&mut self, _clock: &RobotClock) -> CuResult<()>

    This is a method called by the runtime after “process”. It is best effort a chance for the task to update some state after process is out of the way. It can be use for example to maintain statistics etc. that are not time-critical for the robot.

    -
    Source

    fn stop(&mut self, _clock: &RobotClock) -> CuResult<()>

    Called to stop the task. It signals that the *process method won’t be called until start is called again.

    +
    Source

    fn stop(&mut self, _clock: &RobotClock) -> CuResult<()>

    Called to stop the task. It signals that the *process method won’t be called until start is called again.

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    Source§

    impl<'cl, T: CuMsgPayload + 'cl> CuSrcTask<'cl> for CuSimSrcTask<T>

    Source§

    type Output = &'cl mut CuMsg<T>

    \ No newline at end of file diff --git a/cu29_runtime/cutask/trait.CuTask.html b/cu29_runtime/cutask/trait.CuTask.html index de5f3e977..5ee9eac53 100644 --- a/cu29_runtime/cutask/trait.CuTask.html +++ b/cu29_runtime/cutask/trait.CuTask.html @@ -1,40 +1,40 @@ -CuTask in cu29_runtime::cutask - Rust
    cu29_runtime::cutask

    Trait CuTask

    Source
    pub trait CuTask<'cl>: Freezable {
    +CuTask in cu29_runtime::cutask - Rust
    cu29_runtime::cutask

    Trait CuTask

    Source
    pub trait CuTask<'cl>: Freezable {
         type Input: CuMsgPack<'cl>;
         type Output: CuMsgPack<'cl>;
     
         // Required methods
    -    fn new(_config: Option<&ComponentConfig>) -> CuResult<Self>
    +    fn new(_config: Option<&ComponentConfig>) -> CuResult<Self>
            where Self: Sized;
         fn process(
             &mut self,
    -        _clock: &RobotClock,
    +        _clock: &RobotClock,
             input: Self::Input,
             output: Self::Output,
    -    ) -> CuResult<()>;
    +    ) -> CuResult<()>;
     
         // Provided methods
    -    fn start(&mut self, _clock: &RobotClock) -> CuResult<()> { ... }
    -    fn preprocess(&mut self, _clock: &RobotClock) -> CuResult<()> { ... }
    -    fn postprocess(&mut self, _clock: &RobotClock) -> CuResult<()> { ... }
    -    fn stop(&mut self, _clock: &RobotClock) -> CuResult<()> { ... }
    +    fn start(&mut self, _clock: &RobotClock) -> CuResult<()> { ... }
    +    fn preprocess(&mut self, _clock: &RobotClock) -> CuResult<()> { ... }
    +    fn postprocess(&mut self, _clock: &RobotClock) -> CuResult<()> { ... }
    +    fn stop(&mut self, _clock: &RobotClock) -> CuResult<()> { ... }
     }
    Expand description

    This is the most generic Task of copper. It is a “transform” task deriving an output from an input.

    -

    Required Associated Types§

    Required Methods§

    Source

    fn new(_config: Option<&ComponentConfig>) -> CuResult<Self>
    where +

    Required Associated Types§

    Required Methods§

    Source

    fn new(_config: Option<&ComponentConfig>) -> CuResult<Self>
    where Self: Sized,

    Here you need to initialize everything your task will need for the duration of its lifetime. The config allows you to access the configuration of the task.

    Source

    fn process( &mut self, - _clock: &RobotClock, + _clock: &RobotClock, input: Self::Input, output: Self::Output, -) -> CuResult<()>

    Process is the most critical execution of the task. +) -> CuResult<()>

    Process is the most critical execution of the task. The goal will be to produce the output message as soon as possible. Use preprocess to prepare the task to make this method as short as possible.

    -

    Provided Methods§

    Source

    fn start(&mut self, _clock: &RobotClock) -> CuResult<()>

    Start is called between the creation of the task and the first call to pre/process.

    -
    Source

    fn preprocess(&mut self, _clock: &RobotClock) -> CuResult<()>

    This is a method called by the runtime before “process”. This is a kind of best effort, +

    Provided Methods§

    Source

    fn start(&mut self, _clock: &RobotClock) -> CuResult<()>

    Start is called between the creation of the task and the first call to pre/process.

    +
    Source

    fn preprocess(&mut self, _clock: &RobotClock) -> CuResult<()>

    This is a method called by the runtime before “process”. This is a kind of best effort, as soon as possible call to give a chance for the task to do some work before to prepare to make “process” as short as possible.

    -
    Source

    fn postprocess(&mut self, _clock: &RobotClock) -> CuResult<()>

    This is a method called by the runtime after “process”. It is best effort a chance for +

    Source

    fn postprocess(&mut self, _clock: &RobotClock) -> CuResult<()>

    This is a method called by the runtime after “process”. It is best effort a chance for the task to update some state after process is out of the way. It can be use for example to maintain statistics etc. that are not time-critical for the robot.

    -
    Source

    fn stop(&mut self, _clock: &RobotClock) -> CuResult<()>

    Called to stop the task. It signals that the *process method won’t be called until start is called again.

    +
    Source

    fn stop(&mut self, _clock: &RobotClock) -> CuResult<()>

    Called to stop the task. It signals that the *process method won’t be called until start is called again.

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    \ No newline at end of file diff --git a/cu29_runtime/cutask/trait.Freezable.html b/cu29_runtime/cutask/trait.Freezable.html index b2fc78eec..c9e69630a 100644 --- a/cu29_runtime/cutask/trait.Freezable.html +++ b/cu29_runtime/cutask/trait.Freezable.html @@ -1,4 +1,4 @@ -Freezable in cu29_runtime::cutask - Rust
    cu29_runtime::cutask

    Trait Freezable

    Source
    pub trait Freezable {
    +Freezable in cu29_runtime::cutask - Rust
    cu29_runtime::cutask

    Trait Freezable

    Source
    pub trait Freezable {
         // Provided methods
         fn freeze<E: Encoder>(&self, encoder: &mut E) -> Result<(), EncodeError> { ... }
         fn thaw<D: Decoder>(&mut self, decoder: &mut D) -> Result<(), DecodeError> { ... }
    diff --git a/cu29_runtime/index.html b/cu29_runtime/index.html
    index 7798b41b9..17413c109 100644
    --- a/cu29_runtime/index.html
    +++ b/cu29_runtime/index.html
    @@ -1,4 +1,4 @@
    -cu29_runtime - Rust

    Crate cu29_runtime

    Source
    Expand description
    logo +cu29_runtime - Rust

    Crate cu29_runtime

    Source
    Expand description
    logo

    §

    §Copper

    copper GitHub last commit diff --git a/cu29_runtime/macro.input_msg.html b/cu29_runtime/macro.input_msg.html index ddbc62a05..cba8d2905 100644 --- a/cu29_runtime/macro.input_msg.html +++ b/cu29_runtime/macro.input_msg.html @@ -1,4 +1,4 @@ -input_msg in cu29_runtime - Rust

    cu29_runtime

    Macro input_msg

    Source
    macro_rules! input_msg {
    +input_msg in cu29_runtime - Rust
    cu29_runtime

    Macro input_msg

    Source
    macro_rules! input_msg {
         ($lifetime:lifetime, $ty:ty) => { ... };
         ($lifetime:lifetime, $($ty:ty),*) => { ... };
     }
    \ No newline at end of file diff --git a/cu29_runtime/macro.output_msg.html b/cu29_runtime/macro.output_msg.html index 5b31c846c..6b74a6edd 100644 --- a/cu29_runtime/macro.output_msg.html +++ b/cu29_runtime/macro.output_msg.html @@ -1,3 +1,3 @@ -output_msg in cu29_runtime - Rust
    cu29_runtime

    Macro output_msg

    Source
    macro_rules! output_msg {
    +output_msg in cu29_runtime - Rust
    cu29_runtime

    Macro output_msg

    Source
    macro_rules! output_msg {
         ($lifetime:lifetime, $ty:ty) => { ... };
     }
    \ No newline at end of file diff --git a/cu29_runtime/monitoring/enum.CuTaskState.html b/cu29_runtime/monitoring/enum.CuTaskState.html index 76ec4fd95..f58137f34 100644 --- a/cu29_runtime/monitoring/enum.CuTaskState.html +++ b/cu29_runtime/monitoring/enum.CuTaskState.html @@ -1,4 +1,4 @@ -CuTaskState in cu29_runtime::monitoring - Rust
    cu29_runtime::monitoring

    Enum CuTaskState

    Source
    pub enum CuTaskState {
    +CuTaskState in cu29_runtime::monitoring - Rust
    cu29_runtime::monitoring

    Enum CuTaskState

    Source
    pub enum CuTaskState {
         Start,
         Preprocess,
         Process,
    diff --git a/cu29_runtime/monitoring/enum.Decision.html b/cu29_runtime/monitoring/enum.Decision.html
    index 4af1b1683..38840615a 100644
    --- a/cu29_runtime/monitoring/enum.Decision.html
    +++ b/cu29_runtime/monitoring/enum.Decision.html
    @@ -1,4 +1,4 @@
    -Decision in cu29_runtime::monitoring - Rust
    cu29_runtime::monitoring

    Enum Decision

    Source
    pub enum Decision {
    +Decision in cu29_runtime::monitoring - Rust
    cu29_runtime::monitoring

    Enum Decision

    Source
    pub enum Decision {
         Abort,
         Ignore,
         Shutdown,
    diff --git a/cu29_runtime/monitoring/index.html b/cu29_runtime/monitoring/index.html
    index 616111f7d..5f18a7a3c 100644
    --- a/cu29_runtime/monitoring/index.html
    +++ b/cu29_runtime/monitoring/index.html
    @@ -1,4 +1,4 @@
    -cu29_runtime::monitoring - Rust
    cu29_runtime

    Module monitoring

    Source
    Expand description

    Some basic internal monitoring tooling Copper uses to monitor itself and the tasks it is running.

    +cu29_runtime::monitoring - Rust
    cu29_runtime

    Module monitoring

    Source
    Expand description

    Some basic internal monitoring tooling Copper uses to monitor itself and the tasks it is running.

    Structs§

    CountingAllocator
    A simple allocator that counts the number of bytes allocated and deallocated.
    CuDurationStatistics
    A Specialized statistics object for CuDuration. It will also keep track of the jitter between the values.
    LiveStatistics
    Accumulative stat object that can give your some real time statistics.
    NoMonitor
    A do nothing monitor if no monitor is provided. This is basically defining the default behavior of Copper in case of error.
    ScopedAllocCounter
    A simple struct that counts the number of bytes allocated and deallocated in a scope.

    Enums§

    CuTaskState
    The state of a task.
    Decision
    Monitor decision to be taken when a task errored out.

    Statics§

    GLOBAL

    Traits§

    CuMonitor
    Trait to implement a monitoring task.
    \ No newline at end of file diff --git a/cu29_runtime/monitoring/static.GLOBAL.html b/cu29_runtime/monitoring/static.GLOBAL.html index b1f185f7e..3710fb1e4 100644 --- a/cu29_runtime/monitoring/static.GLOBAL.html +++ b/cu29_runtime/monitoring/static.GLOBAL.html @@ -1 +1 @@ -GLOBAL in cu29_runtime::monitoring - Rust
    cu29_runtime::monitoring

    Static GLOBAL

    Source
    pub static GLOBAL: CountingAllocator
    \ No newline at end of file +GLOBAL in cu29_runtime::monitoring - Rust
    cu29_runtime::monitoring

    Static GLOBAL

    Source
    pub static GLOBAL: CountingAllocator
    \ No newline at end of file diff --git a/cu29_runtime/monitoring/struct.CountingAllocator.html b/cu29_runtime/monitoring/struct.CountingAllocator.html index 39c512f93..c77862c13 100644 --- a/cu29_runtime/monitoring/struct.CountingAllocator.html +++ b/cu29_runtime/monitoring/struct.CountingAllocator.html @@ -1,4 +1,4 @@ -CountingAllocator in cu29_runtime::monitoring - Rust
    cu29_runtime::monitoring

    Struct CountingAllocator

    Source
    pub struct CountingAllocator { /* private fields */ }
    Expand description

    A simple allocator that counts the number of bytes allocated and deallocated.

    +CountingAllocator in cu29_runtime::monitoring - Rust
    cu29_runtime::monitoring

    Struct CountingAllocator

    Source
    pub struct CountingAllocator { /* private fields */ }
    Expand description

    A simple allocator that counts the number of bytes allocated and deallocated.

    Implementations§

    Source§

    impl CountingAllocator

    Source

    pub const fn new() -> Self

    Source

    pub fn get_allocated(&self) -> usize

    Source

    pub fn get_deallocated(&self) -> usize

    Source

    pub fn reset(&self)

    Trait Implementations§

    Source§

    impl Default for CountingAllocator

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl GlobalAlloc for CountingAllocator

    Source§

    unsafe fn alloc(&self, layout: Layout) -> *mut u8

    Allocates memory as described by the given layout. Read more
    Source§

    unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout)

    Deallocates the block of memory at the given ptr pointer with the given layout. Read more
    1.28.0 · Source§

    unsafe fn alloc_zeroed(&self, layout: Layout) -> *mut u8

    Behaves like alloc, but also ensures that the contents are set to zero before being returned. Read more
    1.28.0 · Source§

    unsafe fn realloc( &self, diff --git a/cu29_runtime/monitoring/struct.CuDurationStatistics.html b/cu29_runtime/monitoring/struct.CuDurationStatistics.html index 2ce37e7c2..cf4fc0521 100644 --- a/cu29_runtime/monitoring/struct.CuDurationStatistics.html +++ b/cu29_runtime/monitoring/struct.CuDurationStatistics.html @@ -1,6 +1,6 @@ -CuDurationStatistics in cu29_runtime::monitoring - Rust
    cu29_runtime::monitoring

    Struct CuDurationStatistics

    Source
    pub struct CuDurationStatistics { /* private fields */ }
    Expand description

    A Specialized statistics object for CuDuration. +CuDurationStatistics in cu29_runtime::monitoring - Rust

    cu29_runtime::monitoring

    Struct CuDurationStatistics

    Source
    pub struct CuDurationStatistics { /* private fields */ }
    Expand description

    A Specialized statistics object for CuDuration. It will also keep track of the jitter between the values.

    -

    Implementations§

    Source§

    impl CuDurationStatistics

    Source

    pub fn new(max: CuDuration) -> Self

    Source

    pub fn min(&self) -> CuDuration

    Source

    pub fn max(&self) -> CuDuration

    Source

    pub fn mean(&self) -> CuDuration

    Source

    pub fn percentile(&self, percentile: f64) -> CuDuration

    Source

    pub fn stddev(&self) -> CuDuration

    Source

    pub fn len(&self) -> u64

    Source

    pub fn is_empty(&self) -> bool

    Source

    pub fn jitter_min(&self) -> CuDuration

    Source

    pub fn jitter_max(&self) -> CuDuration

    Source

    pub fn jitter_mean(&self) -> CuDuration

    Source

    pub fn jitter_stddev(&self) -> CuDuration

    Source

    pub fn jitter_percentile(&self, percentile: f64) -> CuDuration

    Source

    pub fn record(&mut self, value: CuDuration)

    Source

    pub fn reset(&mut self)

    Trait Implementations§

    Source§

    impl Clone for CuDurationStatistics

    Source§

    fn clone(&self) -> CuDurationStatistics

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for CuDurationStatistics

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

    Implementations§

    Source§

    impl CuDurationStatistics

    Source

    pub fn new(max: CuDuration) -> Self

    Source

    pub fn min(&self) -> CuDuration

    Source

    pub fn max(&self) -> CuDuration

    Source

    pub fn mean(&self) -> CuDuration

    Source

    pub fn percentile(&self, percentile: f64) -> CuDuration

    Source

    pub fn stddev(&self) -> CuDuration

    Source

    pub fn len(&self) -> u64

    Source

    pub fn is_empty(&self) -> bool

    Source

    pub fn jitter_min(&self) -> CuDuration

    Source

    pub fn jitter_max(&self) -> CuDuration

    Source

    pub fn jitter_mean(&self) -> CuDuration

    Source

    pub fn jitter_stddev(&self) -> CuDuration

    Source

    pub fn jitter_percentile(&self, percentile: f64) -> CuDuration

    Source

    pub fn record(&mut self, value: CuDuration)

    Source

    pub fn reset(&mut self)

    Trait Implementations§

    Source§

    impl Clone for CuDurationStatistics

    Source§

    fn clone(&self) -> CuDurationStatistics

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for CuDurationStatistics

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where diff --git a/cu29_runtime/monitoring/struct.LiveStatistics.html b/cu29_runtime/monitoring/struct.LiveStatistics.html index c9bf8cba6..e0c2a93c9 100644 --- a/cu29_runtime/monitoring/struct.LiveStatistics.html +++ b/cu29_runtime/monitoring/struct.LiveStatistics.html @@ -1,4 +1,4 @@ -LiveStatistics in cu29_runtime::monitoring - Rust
    cu29_runtime::monitoring

    Struct LiveStatistics

    Source
    pub struct LiveStatistics { /* private fields */ }
    Expand description

    Accumulative stat object that can give your some real time statistics.

    +LiveStatistics in cu29_runtime::monitoring - Rust
    cu29_runtime::monitoring

    Struct LiveStatistics

    Source
    pub struct LiveStatistics { /* private fields */ }
    Expand description

    Accumulative stat object that can give your some real time statistics.

    Implementations§

    Source§

    impl LiveStatistics

    Source

    pub fn new_unbounded() -> Self

    Source

    pub fn new_with_max(max: u64) -> Self

    Source

    pub fn min(&self) -> u64

    Source

    pub fn max(&self) -> u64

    Source

    pub fn mean(&self) -> f64

    Source

    pub fn percentile(&self, percentile: f64) -> u64

    Source

    pub fn record(&mut self, value: u64)

    Adds a value to the statistics.

    Source

    pub fn len(&self) -> u64

    Source

    pub fn is_empty(&self) -> bool

    Source

    pub fn reset(&mut self)

    Trait Implementations§

    Source§

    impl Clone for LiveStatistics

    Source§

    fn clone(&self) -> LiveStatistics

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for LiveStatistics

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where diff --git a/cu29_runtime/monitoring/struct.NoMonitor.html b/cu29_runtime/monitoring/struct.NoMonitor.html index f9d14a36f..64d471844 100644 --- a/cu29_runtime/monitoring/struct.NoMonitor.html +++ b/cu29_runtime/monitoring/struct.NoMonitor.html @@ -1,11 +1,11 @@ -NoMonitor in cu29_runtime::monitoring - Rust
    cu29_runtime::monitoring

    Struct NoMonitor

    Source
    pub struct NoMonitor {}
    Expand description

    A do nothing monitor if no monitor is provided. +NoMonitor in cu29_runtime::monitoring - Rust

    cu29_runtime::monitoring

    Struct NoMonitor

    Source
    pub struct NoMonitor {}
    Expand description

    A do nothing monitor if no monitor is provided. This is basically defining the default behavior of Copper in case of error.

    -

    Trait Implementations§

    Source§

    impl CuMonitor for NoMonitor

    Source§

    fn new(_config: &CuConfig, _taskids: &'static [&'static str]) -> CuResult<Self>

    Source§

    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( +

    Trait Implementations§

    Source§

    impl CuMonitor for NoMonitor

    Source§

    fn new(_config: &CuConfig, _taskids: &'static [&'static str]) -> CuResult<Self>

    Source§

    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

    Callbacked when a Task errored out. The runtime requires an immediate decision.
    Source§

    fn start(&mut self, _clock: &RobotClock) -> CuResult<()>

    Source§

    fn stop(&mut self, _clock: &RobotClock) -> CuResult<()>

    Callbacked when copper is stopping.

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + _error: &CuError, +) -> Decision

    Callbacked when a Task errored out. The runtime requires an immediate decision.
    Source§

    fn start(&mut self, _clock: &RobotClock) -> CuResult<()>

    Source§

    fn stop(&mut self, _clock: &RobotClock) -> CuResult<()>

    Callbacked when copper is stopping.

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/cu29_runtime/monitoring/struct.ScopedAllocCounter.html b/cu29_runtime/monitoring/struct.ScopedAllocCounter.html index de456dae1..1c6df7363 100644 --- a/cu29_runtime/monitoring/struct.ScopedAllocCounter.html +++ b/cu29_runtime/monitoring/struct.ScopedAllocCounter.html @@ -1,4 +1,4 @@ -ScopedAllocCounter in cu29_runtime::monitoring - Rust
    cu29_runtime::monitoring

    Struct ScopedAllocCounter

    Source
    pub struct ScopedAllocCounter { /* private fields */ }
    Expand description

    A simple struct that counts the number of bytes allocated and deallocated in a scope.

    +ScopedAllocCounter in cu29_runtime::monitoring - Rust
    cu29_runtime::monitoring

    Struct ScopedAllocCounter

    Source
    pub struct ScopedAllocCounter { /* private fields */ }
    Expand description

    A simple struct that counts the number of bytes allocated and deallocated in a scope.

    Implementations§

    Source§

    impl ScopedAllocCounter

    Source

    pub fn new() -> Self

    Source

    pub fn get_allocated(&self) -> usize

    Returns the total number of bytes allocated in the current scope since the creation of this ScopedAllocCounter.

    §Example
    diff --git a/cu29_runtime/monitoring/trait.CuMonitor.html b/cu29_runtime/monitoring/trait.CuMonitor.html index 86eb56b28..f7e8f240d 100644 --- a/cu29_runtime/monitoring/trait.CuMonitor.html +++ b/cu29_runtime/monitoring/trait.CuMonitor.html @@ -1,29 +1,29 @@ -CuMonitor in cu29_runtime::monitoring - Rust
    cu29_runtime::monitoring

    Trait CuMonitor

    Source
    pub trait CuMonitor: Sized {
    +CuMonitor in cu29_runtime::monitoring - Rust
    cu29_runtime::monitoring

    Trait CuMonitor

    Source
    pub trait CuMonitor: Sized {
         // Required methods
         fn new(
             config: &CuConfig,
             taskids: &'static [&'static str],
    -    ) -> CuResult<Self>
    +    ) -> CuResult<Self>
            where Self: Sized;
    -    fn process_copperlist(&self, msgs: &[&CuMsgMetadata]) -> CuResult<()>;
    +    fn process_copperlist(&self, msgs: &[&CuMsgMetadata]) -> CuResult<()>;
         fn process_error(
             &self,
             taskid: usize,
             step: CuTaskState,
    -        error: &CuError,
    +        error: &CuError,
         ) -> Decision;
     
         // Provided methods
    -    fn start(&mut self, _clock: &RobotClock) -> CuResult<()> { ... }
    -    fn stop(&mut self, _clock: &RobotClock) -> CuResult<()> { ... }
    +    fn start(&mut self, _clock: &RobotClock) -> CuResult<()> { ... }
    +    fn stop(&mut self, _clock: &RobotClock) -> CuResult<()> { ... }
     }
    Expand description

    Trait to implement a monitoring task.

    -

    Required Methods§

    Source

    fn new(config: &CuConfig, taskids: &'static [&'static str]) -> CuResult<Self>
    where - Self: Sized,

    Source

    fn process_copperlist(&self, msgs: &[&CuMsgMetadata]) -> CuResult<()>

    Callback that will be trigger at the end of every copperlist (before, on or after the serialization).

    +

    Required Methods§

    Source

    fn new(config: &CuConfig, taskids: &'static [&'static str]) -> CuResult<Self>
    where + Self: Sized,

    Source

    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, + error: &CuError, ) -> Decision

    Callbacked when a Task errored out. The runtime requires an immediate decision.

    -

    Provided Methods§

    Source

    fn start(&mut self, _clock: &RobotClock) -> CuResult<()>

    Source

    fn stop(&mut self, _clock: &RobotClock) -> CuResult<()>

    Callbacked when copper is stopping.

    +

    Provided Methods§

    Source

    fn start(&mut self, _clock: &RobotClock) -> CuResult<()>

    Source

    fn stop(&mut self, _clock: &RobotClock) -> CuResult<()>

    Callbacked when copper is stopping.

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    \ No newline at end of file diff --git a/cu29_runtime/payload/index.html b/cu29_runtime/payload/index.html index 2984fa6f3..32e0219f7 100644 --- a/cu29_runtime/payload/index.html +++ b/cu29_runtime/payload/index.html @@ -1 +1 @@ -cu29_runtime::payload - Rust
    cu29_runtime

    Module payload

    Source

    Structs§

    CuArray
    Copper friendly wrapper for a fixed size array.
    \ No newline at end of file +cu29_runtime::payload - Rust
    cu29_runtime

    Module payload

    Source

    Structs§

    CuArray
    Copper friendly wrapper for a fixed size array.
    \ No newline at end of file diff --git a/cu29_runtime/payload/struct.CuArray.html b/cu29_runtime/payload/struct.CuArray.html index 5e784c769..592e09ef6 100644 --- a/cu29_runtime/payload/struct.CuArray.html +++ b/cu29_runtime/payload/struct.CuArray.html @@ -1,4 +1,4 @@ -CuArray in cu29_runtime::payload - Rust
    cu29_runtime::payload

    Struct CuArray

    Source
    pub struct CuArray<T, const N: usize> { /* private fields */ }
    Expand description

    Copper friendly wrapper for a fixed size array.

    +CuArray in cu29_runtime::payload - Rust
    cu29_runtime::payload

    Struct CuArray

    Source
    pub struct CuArray<T, const N: usize> { /* private fields */ }
    Expand description

    Copper friendly wrapper for a fixed size array.

    Implementations§

    Source§

    impl<T, const N: usize> CuArray<T, N>

    Source

    pub fn new() -> Self

    Source

    pub fn fill_from_iter<I>(&mut self, iter: I)
    where I: IntoIterator<Item = T>,

    Source

    pub fn len(&self) -> usize

    Source

    pub fn is_empty(&self) -> bool

    Source

    pub fn as_slice(&self) -> &[T]

    Source

    pub fn capacity(&self) -> usize

    Trait Implementations§

    Source§

    impl<T: Clone, const N: usize> Clone for CuArray<T, N>

    Source§

    fn clone(&self) -> CuArray<T, N>

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl<T: Debug, const N: usize> Debug for CuArray<T, N>

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<T, const N: usize> Decode for CuArray<T, N>
    where T: Decode,

    Source§

    fn decode<D: Decoder>(decoder: &mut D) -> Result<Self, DecodeError>

    Attempt to decode this type with the given Decode.
    Source§

    impl<T: Default, const N: usize> Default for CuArray<T, N>

    Source§

    fn default() -> CuArray<T, N>

    Returns the “default value” for a type. Read more
    Source§

    impl<T, const N: usize> Encode for CuArray<T, N>
    where @@ -20,6 +20,6 @@

    Source§

    impl<T> ToOwned for T
    where T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    Source§

    impl<T> CopperListTuple for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> CopperListTuple for T
    where T: Encode + Decode + Debug,

    Source§

    impl<T> CuMsgPayload for T
    where T: Default + Debug + Clone + Encode + Decode,

    \ No newline at end of file diff --git a/cu29_runtime/pool/enum.CuHandleInner.html b/cu29_runtime/pool/enum.CuHandleInner.html index 18e37ec19..a536c6419 100644 --- a/cu29_runtime/pool/enum.CuHandleInner.html +++ b/cu29_runtime/pool/enum.CuHandleInner.html @@ -1,4 +1,4 @@ -CuHandleInner in cu29_runtime::pool - Rust
    cu29_runtime::pool

    Enum CuHandleInner

    Source
    pub enum CuHandleInner<T: Debug> {
    +CuHandleInner in cu29_runtime::pool - Rust
    cu29_runtime::pool

    Enum CuHandleInner

    Source
    pub enum CuHandleInner<T: Debug> {
         Pooled(ReusableOwned<T>),
         Detached(T),
     }
    Expand description

    A Handle to a Buffer. @@ -2665,12 +2665,12 @@

    §Examples<
    §Examples
    assert_eq!(["hello", "world"].connect(" "), "hello world");
     assert_eq!([[1, 2], [3, 4]].connect(&0), [1, 2, 0, 3, 4]);
    -
    1.23.0 · Source

    pub fn to_ascii_uppercase(&self) -> Vec<u8>

    Returns a vector containing a copy of this slice where each byte +

    1.23.0 · Source

    pub fn to_ascii_uppercase(&self) -> Vec<u8>

    Returns a vector containing a copy of this slice where each byte is mapped to its ASCII upper case equivalent.

    ASCII letters ‘a’ to ‘z’ are mapped to ‘A’ to ‘Z’, but non-ASCII letters are unchanged.

    To uppercase the value in-place, use make_ascii_uppercase.

    -
    1.23.0 · Source

    pub fn to_ascii_lowercase(&self) -> Vec<u8>

    Returns a vector containing a copy of this slice where each byte +

    1.23.0 · Source

    pub fn to_ascii_lowercase(&self) -> Vec<u8>

    Returns a vector containing a copy of this slice where each byte is mapped to its ASCII lower case equivalent.

    ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, but non-ASCII letters are unchanged.

    @@ -2692,4 +2692,4 @@
    §Examples< P: Deref<Target = T> + ?Sized, T: ?Sized,

    Source§

    type Target = T

    🔬This is a nightly-only experimental API. (arbitrary_self_types)
    The target type on which the method may be called.
    Source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/cu29_runtime/pool/fn.pools_statistics.html b/cu29_runtime/pool/fn.pools_statistics.html index 313829b9c..eefc08c68 100644 --- a/cu29_runtime/pool/fn.pools_statistics.html +++ b/cu29_runtime/pool/fn.pools_statistics.html @@ -1,3 +1,3 @@ -pools_statistics in cu29_runtime::pool - Rust
    cu29_runtime::pool

    Function pools_statistics

    Source
    pub fn pools_statistics() -> SmallVec<[(ArrayString<64>, usize, usize, usize); 16]>
    Expand description

    Get the list of pools and their statistics. +pools_statistics in cu29_runtime::pool - Rust

    cu29_runtime::pool

    Function pools_statistics

    Source
    pub fn pools_statistics() -> SmallVec<[(ArrayString<64>, usize, usize, usize); 16]>
    Expand description

    Get the list of pools and their statistics. We use SmallVec here to avoid heap allocations while the stack is running.

    \ No newline at end of file diff --git a/cu29_runtime/pool/index.html b/cu29_runtime/pool/index.html index 610475e67..45dba6976 100644 --- a/cu29_runtime/pool/index.html +++ b/cu29_runtime/pool/index.html @@ -1,4 +1,4 @@ -cu29_runtime::pool - Rust
    cu29_runtime

    Module pool

    Source

    Structs§

    AlignedBuffer
    A buffer that is aligned to a specific size with the Element of type E.
    CuHandle
    A shareable handle to an Array coming from a pool (either host or device).
    CuHostMemoryPool
    A pool of host memory buffers.

    Enums§

    CuHandleInner
    A Handle to a Buffer. +cu29_runtime::pool - Rust
    cu29_runtime

    Module pool

    Source

    Structs§

    AlignedBuffer
    A buffer that is aligned to a specific size with the Element of type E.
    CuHandle
    A shareable handle to an Array coming from a pool (either host or device).
    CuHostMemoryPool
    A pool of host memory buffers.

    Enums§

    CuHandleInner
    A Handle to a Buffer. For onboard usages, the buffer should be Pooled (ie, coming from a preallocated pool). The Detached version is for offline usages where we don’t really need a pool to deserialize them.

    Traits§

    ArrayLike
    CuPool
    A CuPool is a pool of buffers that can be shared between different parts of the code. Handles can be stored locally in the tasks and shared between them.
    DeviceCuPool
    A device memory pool can copy data from a device to a host memory pool on top.
    ElementType
    Basic Type that can be used in a buffer in a CuPool.
    PoolMonitor
    Trait for a Pool to exposed to be monitored by the monitoring API.

    Functions§

    pools_statistics
    Get the list of pools and their statistics. diff --git a/cu29_runtime/pool/struct.AlignedBuffer.html b/cu29_runtime/pool/struct.AlignedBuffer.html index f0501e3bd..dabeee7b6 100644 --- a/cu29_runtime/pool/struct.AlignedBuffer.html +++ b/cu29_runtime/pool/struct.AlignedBuffer.html @@ -1,4 +1,4 @@ -AlignedBuffer in cu29_runtime::pool - Rust
    cu29_runtime::pool

    Struct AlignedBuffer

    Source
    pub struct AlignedBuffer<E: ElementType> { /* private fields */ }
    Expand description

    A buffer that is aligned to a specific size with the Element of type E.

    +AlignedBuffer in cu29_runtime::pool - Rust
    cu29_runtime::pool

    Struct AlignedBuffer

    Source
    pub struct AlignedBuffer<E: ElementType> { /* private fields */ }
    Expand description

    A buffer that is aligned to a specific size with the Element of type E.

    Implementations§

    Source§

    impl<E: ElementType> AlignedBuffer<E>

    Source

    pub fn new(num_elements: usize, alignment: usize) -> Self

    Methods from Deref<Target = [E]>§

    Source

    pub fn write_copy_of_slice(&mut self, src: &[T]) -> &mut [T]
    where T: Copy,

    🔬This is a nightly-only experimental API. (maybe_uninit_write_slice)

    Copies the elements from src to self, returning a mutable reference to the now initialized contents of self.

    @@ -2660,12 +2660,12 @@
    §Examples<
    §Examples
    assert_eq!(["hello", "world"].connect(" "), "hello world");
     assert_eq!([[1, 2], [3, 4]].connect(&0), [1, 2, 0, 3, 4]);
    -
    1.23.0 · Source

    pub fn to_ascii_uppercase(&self) -> Vec<u8>

    Returns a vector containing a copy of this slice where each byte +

    1.23.0 · Source

    pub fn to_ascii_uppercase(&self) -> Vec<u8>

    Returns a vector containing a copy of this slice where each byte is mapped to its ASCII upper case equivalent.

    ASCII letters ‘a’ to ‘z’ are mapped to ‘A’ to ‘Z’, but non-ASCII letters are unchanged.

    To uppercase the value in-place, use make_ascii_uppercase.

    -
    1.23.0 · Source

    pub fn to_ascii_lowercase(&self) -> Vec<u8>

    Returns a vector containing a copy of this slice where each byte +

    1.23.0 · Source

    pub fn to_ascii_lowercase(&self) -> Vec<u8>

    Returns a vector containing a copy of this slice where each byte is mapped to its ASCII lower case equivalent.

    ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, but non-ASCII letters are unchanged.

    @@ -2684,4 +2684,4 @@
    §Examples< P: Deref<Target = T> + ?Sized, T: ?Sized,

    Source§

    type Target = T

    🔬This is a nightly-only experimental API. (arbitrary_self_types)
    The target type on which the method may be called.
    Source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/cu29_runtime/pool/struct.CuHandle.html b/cu29_runtime/pool/struct.CuHandle.html index e4d4fd516..dd9fb66a6 100644 --- a/cu29_runtime/pool/struct.CuHandle.html +++ b/cu29_runtime/pool/struct.CuHandle.html @@ -1,4 +1,4 @@ -CuHandle in cu29_runtime::pool - Rust
    cu29_runtime::pool

    Struct CuHandle

    Source
    pub struct CuHandle<T: ArrayLike>(/* private fields */);
    Expand description

    A shareable handle to an Array coming from a pool (either host or device).

    +CuHandle in cu29_runtime::pool - Rust
    cu29_runtime::pool

    Struct CuHandle

    Source
    pub struct CuHandle<T: ArrayLike>(/* private fields */);
    Expand description

    A shareable handle to an Array coming from a pool (either host or device).

    Implementations§

    Source§

    impl<T: ArrayLike> CuHandle<T>

    Source

    pub fn new_detached(inner: T) -> Self

    Create a new CuHandle not part of a Pool (not for onboard usages, use pools instead)

    Source

    pub fn with_inner<R>(&self, f: impl FnOnce(&CuHandleInner<T>) -> R) -> R

    Safely access the inner value, applying a closure to it.

    Source

    pub fn with_inner_mut<R>(&self, f: impl FnOnce(&mut CuHandleInner<T>) -> R) -> R

    Mutably access the inner value, applying a closure to it.

    @@ -17,6 +17,6 @@ T: ?Sized,

    Source§

    type Target = T

    🔬This is a nightly-only experimental API. (arbitrary_self_types)
    The target type on which the method may be called.
    Source§

    impl<T> ToOwned for T
    where T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    Source§

    impl<T> CopperListTuple for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> CopperListTuple for T
    where T: Encode + Decode + Debug,

    Source§

    impl<T> CuMsgPayload for T
    where T: Default + Debug + Clone + Encode + Decode,

    \ No newline at end of file diff --git a/cu29_runtime/pool/struct.CuHostMemoryPool.html b/cu29_runtime/pool/struct.CuHostMemoryPool.html index 5b99a5c92..352e58e53 100644 --- a/cu29_runtime/pool/struct.CuHostMemoryPool.html +++ b/cu29_runtime/pool/struct.CuHostMemoryPool.html @@ -1,9 +1,9 @@ -CuHostMemoryPool in cu29_runtime::pool - Rust
    cu29_runtime::pool

    Struct CuHostMemoryPool

    Source
    pub struct CuHostMemoryPool<T> { /* private fields */ }
    Expand description

    A pool of host memory buffers.

    +CuHostMemoryPool in cu29_runtime::pool - Rust
    cu29_runtime::pool

    Struct CuHostMemoryPool

    Source
    pub struct CuHostMemoryPool<T> { /* private fields */ }
    Expand description

    A pool of host memory buffers.

    Implementations§

    Source§

    impl<T: ArrayLike + 'static> CuHostMemoryPool<T>

    Source

    pub fn new<F>( id: &str, size: usize, buffer_initializer: F, -) -> CuResult<Arc<Self>>
    where +) -> CuResult<Arc<Self>>
    where F: Fn() -> T,

    Trait Implementations§

    Source§

    impl<T: ArrayLike> CuPool<T> for CuHostMemoryPool<T>

    Source§

    fn acquire(&self) -> Option<CuHandle<T>>

    Acquire a buffer from the pool.
    Source§

    fn copy_from<O: ArrayLike<Element = T::Element>>( &self, from: &mut CuHandle<O>, diff --git a/cu29_runtime/pool/trait.ArrayLike.html b/cu29_runtime/pool/trait.ArrayLike.html index b538cdc53..f649d232d 100644 --- a/cu29_runtime/pool/trait.ArrayLike.html +++ b/cu29_runtime/pool/trait.ArrayLike.html @@ -1,4 +1,4 @@ -ArrayLike in cu29_runtime::pool - Rust
    cu29_runtime::pool

    Trait ArrayLike

    Source
    pub trait ArrayLike:
    +ArrayLike in cu29_runtime::pool - Rust
    cu29_runtime::pool

    Trait ArrayLike

    Source
    pub trait ArrayLike:
         Deref<Target = [Self::Element]>
         + DerefMut
         + Debug
    diff --git a/cu29_runtime/pool/trait.CuPool.html b/cu29_runtime/pool/trait.CuPool.html
    index bf9efee81..c61e62d58 100644
    --- a/cu29_runtime/pool/trait.CuPool.html
    +++ b/cu29_runtime/pool/trait.CuPool.html
    @@ -1,4 +1,4 @@
    -CuPool in cu29_runtime::pool - Rust
    cu29_runtime::pool

    Trait CuPool

    Source
    pub trait CuPool<T: ArrayLike>: PoolMonitor {
    +CuPool in cu29_runtime::pool - Rust
    cu29_runtime::pool

    Trait CuPool

    Source
    pub trait CuPool<T: ArrayLike>: PoolMonitor {
         // Required methods
         fn acquire(&self) -> Option<CuHandle<T>>;
         fn copy_from<O>(&self, from: &mut CuHandle<O>) -> CuHandle<T>
    diff --git a/cu29_runtime/pool/trait.DeviceCuPool.html b/cu29_runtime/pool/trait.DeviceCuPool.html
    index 727e72553..a87cbb9b6 100644
    --- a/cu29_runtime/pool/trait.DeviceCuPool.html
    +++ b/cu29_runtime/pool/trait.DeviceCuPool.html
    @@ -1,17 +1,17 @@
    -DeviceCuPool in cu29_runtime::pool - Rust
    cu29_runtime::pool

    Trait DeviceCuPool

    Source
    pub trait DeviceCuPool<T: ArrayLike>: CuPool<T> {
    +DeviceCuPool in cu29_runtime::pool - Rust
    cu29_runtime::pool

    Trait DeviceCuPool

    Source
    pub trait DeviceCuPool<T: ArrayLike>: CuPool<T> {
         // Required method
         fn copy_to_host_pool<O>(
             &self,
             from_device_handle: &CuHandle<T>,
             to_host_handle: &mut CuHandle<O>,
    -    ) -> CuResult<()>
    +    ) -> CuResult<()>
            where O: ArrayLike<Element = T::Element>;
     }
    Expand description

    A device memory pool can copy data from a device to a host memory pool on top.

    Required Methods§

    Source

    fn copy_to_host_pool<O>( &self, from_device_handle: &CuHandle<T>, to_host_handle: &mut CuHandle<O>, -) -> CuResult<()>
    where +) -> CuResult<()>
    where O: ArrayLike<Element = T::Element>,

    Takes a handle to a device buffer and copies it into a host buffer pool. It returns a new handle from the host pool with the data from the device handle given.

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    \ No newline at end of file diff --git a/cu29_runtime/pool/trait.ElementType.html b/cu29_runtime/pool/trait.ElementType.html index 394642e20..38b8f844f 100644 --- a/cu29_runtime/pool/trait.ElementType.html +++ b/cu29_runtime/pool/trait.ElementType.html @@ -1,4 +1,4 @@ -ElementType in cu29_runtime::pool - Rust
    cu29_runtime::pool

    Trait ElementType

    Source
    pub trait ElementType:
    +ElementType in cu29_runtime::pool - Rust
    cu29_runtime::pool

    Trait ElementType

    Source
    pub trait ElementType:
         Default
         + Sized
         + Copy
    diff --git a/cu29_runtime/pool/trait.PoolMonitor.html b/cu29_runtime/pool/trait.PoolMonitor.html
    index f9033d914..14312f098 100644
    --- a/cu29_runtime/pool/trait.PoolMonitor.html
    +++ b/cu29_runtime/pool/trait.PoolMonitor.html
    @@ -1,4 +1,4 @@
    -PoolMonitor in cu29_runtime::pool - Rust
    cu29_runtime::pool

    Trait PoolMonitor

    Source
    pub trait PoolMonitor: Send + Sync {
    +PoolMonitor in cu29_runtime::pool - Rust
    cu29_runtime::pool

    Trait PoolMonitor

    Source
    pub trait PoolMonitor: Send + Sync {
         // Required methods
         fn id(&self) -> ArrayString<64>;
         fn space_left(&self) -> usize;
    diff --git a/cu29_runtime/simulation/enum.CuTaskCallbackState.html b/cu29_runtime/simulation/enum.CuTaskCallbackState.html
    index 7a29b43a0..aa5f43cad 100644
    --- a/cu29_runtime/simulation/enum.CuTaskCallbackState.html
    +++ b/cu29_runtime/simulation/enum.CuTaskCallbackState.html
    @@ -1,4 +1,4 @@
    -CuTaskCallbackState in cu29_runtime::simulation - Rust
    cu29_runtime::simulation

    Enum CuTaskCallbackState

    Source
    pub enum CuTaskCallbackState<'cl, I, O>
    where +CuTaskCallbackState in cu29_runtime::simulation - Rust
    cu29_runtime::simulation

    Enum CuTaskCallbackState

    Source
    pub enum CuTaskCallbackState<'cl, I, O>
    where I: CuMsgPack<'cl>, O: CuMsgPack<'cl>,
    { New(Option<ComponentConfig>), diff --git a/cu29_runtime/simulation/enum.SimOverride.html b/cu29_runtime/simulation/enum.SimOverride.html index ae3f9c166..5ea3f7447 100644 --- a/cu29_runtime/simulation/enum.SimOverride.html +++ b/cu29_runtime/simulation/enum.SimOverride.html @@ -1,4 +1,4 @@ -SimOverride in cu29_runtime::simulation - Rust
    cu29_runtime::simulation

    Enum SimOverride

    Source
    pub enum SimOverride {
    +SimOverride in cu29_runtime::simulation - Rust
    cu29_runtime::simulation

    Enum SimOverride

    Source
    pub enum SimOverride {
         ExecutedBySim,
         ExecuteByRuntime,
         Errored(String),
    diff --git a/cu29_runtime/simulation/index.html b/cu29_runtime/simulation/index.html
    index 867e4156b..35230754a 100644
    --- a/cu29_runtime/simulation/index.html
    +++ b/cu29_runtime/simulation/index.html
    @@ -1,4 +1,4 @@
    -cu29_runtime::simulation - Rust
    cu29_runtime

    Module simulation

    Source
    Expand description

    §cu29::simulation Module

    +cu29_runtime::simulation - Rust
    cu29_runtime

    Module simulation

    Source
    Expand description

    §cu29::simulation Module

    The cu29::simulation module provides an interface to simulate tasks in Copper-based systems. It offers structures, traits, and enums that enable hooking into the lifecycle of tasks, adapting their behavior, and integrating them with simulated hardware environments.

    diff --git a/cu29_runtime/simulation/struct.CuSimSinkTask.html b/cu29_runtime/simulation/struct.CuSimSinkTask.html index dfa68bf18..5d93aa674 100644 --- a/cu29_runtime/simulation/struct.CuSimSinkTask.html +++ b/cu29_runtime/simulation/struct.CuSimSinkTask.html @@ -1,14 +1,14 @@ -CuSimSinkTask in cu29_runtime::simulation - Rust
    cu29_runtime::simulation

    Struct CuSimSinkTask

    Source
    pub struct CuSimSinkTask<T> { /* private fields */ }
    Expand description

    This is a placeholder task for a sink task for the simulations. +CuSimSinkTask in cu29_runtime::simulation - Rust

    cu29_runtime::simulation

    Struct CuSimSinkTask

    Source
    pub struct CuSimSinkTask<T> { /* private fields */ }
    Expand description

    This is a placeholder task for a sink task for the simulations. It basically does nothing in place of a real driver so it won’t try to initialize any hardware.

    -

    Trait Implementations§

    Source§

    impl<'cl, T: CuMsgPayload + 'cl> CuSinkTask<'cl> for CuSimSinkTask<T>

    Source§

    type Input = &'cl CuMsg<T>

    Source§

    fn new(_config: Option<&ComponentConfig>) -> CuResult<Self>
    where +

    Trait Implementations§

    Source§

    impl<'cl, T: CuMsgPayload + 'cl> CuSinkTask<'cl> for CuSimSinkTask<T>

    Source§

    type Input = &'cl CuMsg<T>

    Source§

    fn new(_config: Option<&ComponentConfig>) -> CuResult<Self>
    where Self: Sized,

    Here you need to initialize everything your task will need for the duration of its lifetime. -The config allows you to access the configuration of the task.
    Source§

    fn process(&mut self, _clock: &RobotClock, _input: Self::Input) -> CuResult<()>

    Process is the most critical execution of the task. +The config allows you to access the configuration of the task.
    Source§

    fn process(&mut self, _clock: &RobotClock, _input: Self::Input) -> CuResult<()>

    Process is the most critical execution of the task. The goal will be to produce the output message as soon as possible. -Use preprocess to prepare the task to make this method as short as possible.
    Source§

    fn start(&mut self, _clock: &RobotClock) -> CuResult<()>

    Start is called between the creation of the task and the first call to pre/process.
    Source§

    fn preprocess(&mut self, _clock: &RobotClock) -> CuResult<()>

    This is a method called by the runtime before “process”. This is a kind of best effort, +Use preprocess to prepare the task to make this method as short as possible.
    Source§

    fn start(&mut self, _clock: &RobotClock) -> CuResult<()>

    Start is called between the creation of the task and the first call to pre/process.
    Source§

    fn preprocess(&mut self, _clock: &RobotClock) -> CuResult<()>

    This is a method called by the runtime before “process”. This is a kind of best effort, as soon as possible call to give a chance for the task to do some work before to prepare -to make “process” as short as possible.
    Source§

    fn postprocess(&mut self, _clock: &RobotClock) -> CuResult<()>

    This is a method called by the runtime after “process”. It is best effort a chance for +to make “process” as short as possible.
    Source§

    fn postprocess(&mut self, _clock: &RobotClock) -> CuResult<()>

    This is a method called by the runtime after “process”. It is best effort a chance for the task to update some state after process is out of the way. -It can be use for example to maintain statistics etc. that are not time-critical for the robot.
    Source§

    fn stop(&mut self, _clock: &RobotClock) -> CuResult<()>

    Called to stop the task. It signals that the *process method won’t be called until start is called again.
    Source§

    impl<T: CuMsgPayload> Freezable for CuSimSinkTask<T>

    Source§

    fn freeze<E: Encoder>(&self, encoder: &mut E) -> Result<(), EncodeError>

    This method is called by the framework when it wants to save the task state. +It can be use for example to maintain statistics etc. that are not time-critical for the robot.
    Source§

    fn stop(&mut self, _clock: &RobotClock) -> CuResult<()>

    Called to stop the task. It signals that the *process method won’t be called until start is called again.
    Source§

    impl<T: CuMsgPayload> Freezable for CuSimSinkTask<T>

    Source§

    fn freeze<E: Encoder>(&self, encoder: &mut E) -> Result<(), EncodeError>

    This method is called by the framework when it wants to save the task state. The default implementation is to encode nothing (stateless). If you have a state, you need to implement this method.
    Source§

    fn thaw<D: Decoder>(&mut self, decoder: &mut D) -> Result<(), DecodeError>

    This method is called by the framework when it wants to restore the task to a specific state. Here it is similar to Decode but the framework will give you a new instance of the task (the new method will be called)

    Auto Trait Implementations§

    §

    impl<T> Freeze for CuSimSinkTask<T>

    §

    impl<T> RefUnwindSafe for CuSimSinkTask<T>
    where diff --git a/cu29_runtime/simulation/struct.CuSimSrcTask.html b/cu29_runtime/simulation/struct.CuSimSrcTask.html index bb1883318..75c53dca7 100644 --- a/cu29_runtime/simulation/struct.CuSimSrcTask.html +++ b/cu29_runtime/simulation/struct.CuSimSrcTask.html @@ -1,18 +1,18 @@ -CuSimSrcTask in cu29_runtime::simulation - Rust
    cu29_runtime::simulation

    Struct CuSimSrcTask

    Source
    pub struct CuSimSrcTask<T> { /* private fields */ }
    Expand description

    This is a placeholder task for a source task for the simulations. +CuSimSrcTask in cu29_runtime::simulation - Rust

    cu29_runtime::simulation

    Struct CuSimSrcTask

    Source
    pub struct CuSimSrcTask<T> { /* private fields */ }
    Expand description

    This is a placeholder task for a source task for the simulations. It basically does nothing in place of a real driver so it won’t try to initialize any hardware.

    -

    Trait Implementations§

    Source§

    impl<'cl, T: CuMsgPayload + 'cl> CuSrcTask<'cl> for CuSimSrcTask<T>

    Source§

    type Output = &'cl mut CuMsg<T>

    Source§

    fn new(_config: Option<&ComponentConfig>) -> CuResult<Self>
    where +

    Trait Implementations§

    Source§

    impl<'cl, T: CuMsgPayload + 'cl> CuSrcTask<'cl> for CuSimSrcTask<T>

    Source§

    type Output = &'cl mut CuMsg<T>

    Source§

    fn new(_config: Option<&ComponentConfig>) -> CuResult<Self>
    where Self: Sized,

    Here you need to initialize everything your task will need for the duration of its lifetime. The config allows you to access the configuration of the task.
    Source§

    fn process( &mut self, - _clock: &RobotClock, + _clock: &RobotClock, _new_msg: Self::Output, -) -> CuResult<()>

    Process is the most critical execution of the task. +) -> CuResult<()>

    Process is the most critical execution of the task. The goal will be to produce the output message as soon as possible. -Use preprocess to prepare the task to make this method as short as possible.
    Source§

    fn start(&mut self, _clock: &RobotClock) -> CuResult<()>

    Start is called between the creation of the task and the first call to pre/process.
    Source§

    fn preprocess(&mut self, _clock: &RobotClock) -> CuResult<()>

    This is a method called by the runtime before “process”. This is a kind of best effort, +Use preprocess to prepare the task to make this method as short as possible.
    Source§

    fn start(&mut self, _clock: &RobotClock) -> CuResult<()>

    Start is called between the creation of the task and the first call to pre/process.
    Source§

    fn preprocess(&mut self, _clock: &RobotClock) -> CuResult<()>

    This is a method called by the runtime before “process”. This is a kind of best effort, as soon as possible call to give a chance for the task to do some work before to prepare -to make “process” as short as possible.
    Source§

    fn postprocess(&mut self, _clock: &RobotClock) -> CuResult<()>

    This is a method called by the runtime after “process”. It is best effort a chance for +to make “process” as short as possible.
    Source§

    fn postprocess(&mut self, _clock: &RobotClock) -> CuResult<()>

    This is a method called by the runtime after “process”. It is best effort a chance for the task to update some state after process is out of the way. -It can be use for example to maintain statistics etc. that are not time-critical for the robot.
    Source§

    fn stop(&mut self, _clock: &RobotClock) -> CuResult<()>

    Called to stop the task. It signals that the *process method won’t be called until start is called again.
    Source§

    impl<T> Freezable for CuSimSrcTask<T>

    Source§

    fn freeze<E: Encoder>(&self, encoder: &mut E) -> Result<(), EncodeError>

    This method is called by the framework when it wants to save the task state. +It can be use for example to maintain statistics etc. that are not time-critical for the robot.
    Source§

    fn stop(&mut self, _clock: &RobotClock) -> CuResult<()>

    Called to stop the task. It signals that the *process method won’t be called until start is called again.
    Source§

    impl<T> Freezable for CuSimSrcTask<T>

    Source§

    fn freeze<E: Encoder>(&self, encoder: &mut E) -> Result<(), EncodeError>

    This method is called by the framework when it wants to save the task state. The default implementation is to encode nothing (stateless). If you have a state, you need to implement this method.
    Source§

    fn thaw<D: Decoder>(&mut self, decoder: &mut D) -> Result<(), DecodeError>

    This method is called by the framework when it wants to restore the task to a specific state. Here it is similar to Decode but the framework will give you a new instance of the task (the new method will be called)

    Auto Trait Implementations§

    §

    impl<T> Freeze for CuSimSrcTask<T>

    §

    impl<T> RefUnwindSafe for CuSimSrcTask<T>
    where diff --git a/cu29_soa_derive/all.html b/cu29_soa_derive/all.html index baa011140..06a2f8473 100644 --- a/cu29_soa_derive/all.html +++ b/cu29_soa_derive/all.html @@ -1 +1 @@ -List of all items in this crate

    List of all items

    Derive Macros

    \ No newline at end of file +List of all items in this crate

    List of all items

    Derive Macros

    \ No newline at end of file diff --git a/cu29_soa_derive/derive.Soa.html b/cu29_soa_derive/derive.Soa.html index b46f7c8dd..aafa56fe2 100644 --- a/cu29_soa_derive/derive.Soa.html +++ b/cu29_soa_derive/derive.Soa.html @@ -1,4 +1,4 @@ -Soa in cu29_soa_derive - Rust
    cu29_soa_derive

    Derive Macro Soa

    Source
    #[derive(Soa)]
    Expand description

    Build a fixed sized SoA (Structure of Arrays) from a struct. +Soa in cu29_soa_derive - Rust

    cu29_soa_derive

    Derive Macro Soa

    Source
    #[derive(Soa)]
    Expand description

    Build a fixed sized SoA (Structure of Arrays) from a struct. The outputted SoA will be suitable for in place storage in messages and should be easier for the compiler to vectorize.

    for example:

    diff --git a/cu29_soa_derive/index.html b/cu29_soa_derive/index.html index 0fc3e6ffb..c473b50d4 100644 --- a/cu29_soa_derive/index.html +++ b/cu29_soa_derive/index.html @@ -1,3 +1,3 @@ -cu29_soa_derive - Rust

    Crate cu29_soa_derive

    Source

    Derive Macros§

    Soa
    Build a fixed sized SoA (Structure of Arrays) from a struct. +cu29_soa_derive - Rust

    Crate cu29_soa_derive

    Source

    Derive Macros§

    Soa
    Build a fixed sized SoA (Structure of Arrays) from a struct. The outputted SoA will be suitable for in place storage in messages and should be easier for the compiler to vectorize.
    \ No newline at end of file diff --git a/cu29_traits/all.html b/cu29_traits/all.html index 159e15650..60428e3c9 100644 --- a/cu29_traits/all.html +++ b/cu29_traits/all.html @@ -1 +1 @@ -List of all items in this crate

    List of all items

    Structs

    Enums

    Traits

    Type Aliases

    \ No newline at end of file +List of all items in this crate

    List of all items

    Structs

    Enums

    Traits

    Type Aliases

    \ No newline at end of file diff --git a/cu29_traits/enum.UnifiedLogType.html b/cu29_traits/enum.UnifiedLogType.html index e10d239c1..daa6cc8e4 100644 --- a/cu29_traits/enum.UnifiedLogType.html +++ b/cu29_traits/enum.UnifiedLogType.html @@ -1,4 +1,4 @@ -UnifiedLogType in cu29_traits - Rust
    cu29_traits

    Enum UnifiedLogType

    Source
    pub enum UnifiedLogType {
    +UnifiedLogType in cu29_traits - Rust
    cu29_traits

    Enum UnifiedLogType

    Source
    pub enum UnifiedLogType {
         Empty,
         StructuredLogLine,
         CopperList,
    diff --git a/cu29_traits/index.html b/cu29_traits/index.html
    index 2797f4947..5f9775138 100644
    --- a/cu29_traits/index.html
    +++ b/cu29_traits/index.html
    @@ -1 +1 @@
    -cu29_traits - Rust

    Crate cu29_traits

    Source

    Structs§

    CuError
    Common copper Error type.

    Enums§

    UnifiedLogType
    Defines the types of what can be logged in the unified logger.

    Traits§

    CopperListTuple
    A CopperListTuple needs to be encodable, decodable and fixed size in memory.
    WriteStream
    Defines a basic write, append only stream trait to be able to log or send serializable objects.

    Type Aliases§

    CuResult
    \ No newline at end of file +cu29_traits - Rust

    Crate cu29_traits

    Source

    Structs§

    CuError
    Common copper Error type.

    Enums§

    UnifiedLogType
    Defines the types of what can be logged in the unified logger.

    Traits§

    CopperListTuple
    A CopperListTuple needs to be encodable, decodable and fixed size in memory.
    WriteStream
    Defines a basic write, append only stream trait to be able to log or send serializable objects.

    Type Aliases§

    CuResult
    \ No newline at end of file diff --git a/cu29_traits/struct.CuError.html b/cu29_traits/struct.CuError.html index 9dee44cfa..dbab4c298 100644 --- a/cu29_traits/struct.CuError.html +++ b/cu29_traits/struct.CuError.html @@ -1,4 +1,4 @@ -CuError in cu29_traits - Rust
    cu29_traits

    Struct CuError

    Source
    pub struct CuError { /* private fields */ }
    Expand description

    Common copper Error type.

    +CuError in cu29_traits - Rust
    cu29_traits

    Struct CuError

    Source
    pub struct CuError { /* private fields */ }
    Expand description

    Common copper Error type.

    Implementations§

    Source§

    impl CuError

    Source

    pub fn new_with_cause(message: &str, cause: impl Error) -> CuError

    Source

    pub fn add_cause(self, context: &str) -> CuError

    Trait Implementations§

    Source§

    impl Clone for CuError

    Source§

    fn clone(&self) -> CuError

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for CuError

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for CuError

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Display for CuError

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Error for CuError

    1.30.0 · Source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    Returns the lower-level source of this error, if any. Read more
    1.0.0 · Source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · Source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    Source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type-based access to context intended for error reports. Read more
    Source§

    impl From<&str> for CuError

    Source§

    fn from(s: &str) -> CuError

    Converts to this type from the input type.
    Source§

    impl From<String> for CuError

    Source§

    fn from(s: String) -> CuError

    Converts to this type from the input type.
    Source§

    impl Serialize for CuError

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where diff --git a/cu29_traits/trait.CopperListTuple.html b/cu29_traits/trait.CopperListTuple.html index e62f21cc2..71309a3a0 100644 --- a/cu29_traits/trait.CopperListTuple.html +++ b/cu29_traits/trait.CopperListTuple.html @@ -1,4 +1,4 @@ -CopperListTuple in cu29_traits - Rust
    cu29_traits

    Trait CopperListTuple

    Source
    pub trait CopperListTuple:
    +CopperListTuple in cu29_traits - Rust
    cu29_traits

    Trait CopperListTuple

    Source
    pub trait CopperListTuple:
         Encode
         + Decode
         + Sized
    diff --git a/cu29_traits/trait.WriteStream.html b/cu29_traits/trait.WriteStream.html
    index c2e94e801..b852a0859 100644
    --- a/cu29_traits/trait.WriteStream.html
    +++ b/cu29_traits/trait.WriteStream.html
    @@ -1,4 +1,4 @@
    -WriteStream in cu29_traits - Rust
    cu29_traits

    Trait WriteStream

    Source
    pub trait WriteStream<E: Encode>:
    +WriteStream in cu29_traits - Rust
    cu29_traits

    Trait WriteStream

    Source
    pub trait WriteStream<E: Encode>:
         Sync
         + Send
         + Debug {
    diff --git a/cu29_traits/type.CuResult.html b/cu29_traits/type.CuResult.html
    index c0abf09d0..ec204902d 100644
    --- a/cu29_traits/type.CuResult.html
    +++ b/cu29_traits/type.CuResult.html
    @@ -1,4 +1,4 @@
    -CuResult in cu29_traits - Rust
    cu29_traits

    Type Alias CuResult

    Source
    pub type CuResult<T> = Result<T, CuError>;

    Aliased Type§

    enum CuResult<T> {
    +CuResult in cu29_traits - Rust
    cu29_traits

    Type Alias CuResult

    Source
    pub type CuResult<T> = Result<T, CuError>;

    Aliased Type§

    enum CuResult<T> {
         Ok(T),
         Err(CuError),
     }

    Variants§

    §1.0.0

    Ok(T)

    Contains the success value

    diff --git a/cu29_unifiedlog/all.html b/cu29_unifiedlog/all.html index fac25e1c9..9ffb2d9fd 100644 --- a/cu29_unifiedlog/all.html +++ b/cu29_unifiedlog/all.html @@ -1 +1 @@ -List of all items in this crate
    \ No newline at end of file +List of all items in this crate
    \ No newline at end of file diff --git a/cu29_unifiedlog/enum.AllocatedSection.html b/cu29_unifiedlog/enum.AllocatedSection.html index 3b99f1a30..9efaa1890 100644 --- a/cu29_unifiedlog/enum.AllocatedSection.html +++ b/cu29_unifiedlog/enum.AllocatedSection.html @@ -1,4 +1,4 @@ -AllocatedSection in cu29_unifiedlog - Rust
    cu29_unifiedlog

    Enum AllocatedSection

    Source
    pub enum AllocatedSection {
    +AllocatedSection in cu29_unifiedlog - Rust
    cu29_unifiedlog

    Enum AllocatedSection

    Source
    pub enum AllocatedSection {
         NoMoreSpace,
         Section(SectionHandle),
     }

    Variants§

    §

    NoMoreSpace

    §

    Section(SectionHandle)

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where diff --git a/cu29_unifiedlog/enum.UnifiedLogger.html b/cu29_unifiedlog/enum.UnifiedLogger.html index c59b647f4..323f20018 100644 --- a/cu29_unifiedlog/enum.UnifiedLogger.html +++ b/cu29_unifiedlog/enum.UnifiedLogger.html @@ -1,4 +1,4 @@ -UnifiedLogger in cu29_unifiedlog - Rust
    cu29_unifiedlog

    Enum UnifiedLogger

    Source
    pub enum UnifiedLogger {
    +UnifiedLogger in cu29_unifiedlog - Rust
    cu29_unifiedlog

    Enum UnifiedLogger

    Source
    pub enum UnifiedLogger {
         Read(UnifiedLoggerRead),
         Write(UnifiedLoggerWrite),
     }
    Expand description

    Holder of the read or write side of the datalogger.

    diff --git a/cu29_unifiedlog/fn.stream_write.html b/cu29_unifiedlog/fn.stream_write.html index 0850c1ac6..1f78ec3ef 100644 --- a/cu29_unifiedlog/fn.stream_write.html +++ b/cu29_unifiedlog/fn.stream_write.html @@ -1,4 +1,4 @@ -stream_write in cu29_unifiedlog - Rust
    cu29_unifiedlog

    Function stream_write

    Source
    pub fn stream_write<E: Encode>(
    +stream_write in cu29_unifiedlog - Rust
    cu29_unifiedlog

    Function stream_write

    Source
    pub fn stream_write<E: Encode>(
         logger: Arc<Mutex<UnifiedLoggerWrite>>,
         entry_type: UnifiedLogType,
         minimum_allocation_amount: usize,
    diff --git a/cu29_unifiedlog/index.html b/cu29_unifiedlog/index.html
    index 9fb473326..20ba14eec 100644
    --- a/cu29_unifiedlog/index.html
    +++ b/cu29_unifiedlog/index.html
    @@ -1,4 +1,4 @@
    -cu29_unifiedlog - Rust

    Crate cu29_unifiedlog

    Source

    Structs§

    SectionHandle
    A SectionHandle is a handle to a section in the datalogger. +cu29_unifiedlog - Rust

    Crate cu29_unifiedlog

    Source

    Structs§

    SectionHandle
    A SectionHandle is a handle to a section in the datalogger. It allows to track the lifecycle of a section of the datalogger.
    SectionHeader
    Each concurrent sublogger is tracked through a section header. They form a linked list of sections. The entry type is used to identify the type of data in the section.
    UnifiedLoggerBuilder
    Use this builder to create a new DataLogger.
    UnifiedLoggerIOReader
    This a convenience wrapper around the UnifiedLoggerRead to implement the Read trait.
    UnifiedLoggerRead
    A read side of the datalogger.
    UnifiedLoggerWrite
    A write side of the datalogger.

    Enums§

    AllocatedSection
    UnifiedLogger
    Holder of the read or write side of the datalogger.

    Functions§

    stream_write
    Create a new stream to write to the unifiedlogger.
    \ No newline at end of file diff --git a/cu29_unifiedlog/struct.SectionHandle.html b/cu29_unifiedlog/struct.SectionHandle.html index 74eae49cc..7d2259406 100644 --- a/cu29_unifiedlog/struct.SectionHandle.html +++ b/cu29_unifiedlog/struct.SectionHandle.html @@ -1,4 +1,4 @@ -SectionHandle in cu29_unifiedlog - Rust
    cu29_unifiedlog

    Struct SectionHandle

    Source
    pub struct SectionHandle { /* private fields */ }
    Expand description

    A SectionHandle is a handle to a section in the datalogger. +SectionHandle in cu29_unifiedlog - Rust

    cu29_unifiedlog

    Struct SectionHandle

    Source
    pub struct SectionHandle { /* private fields */ }
    Expand description

    A SectionHandle is a handle to a section in the datalogger. It allows to track the lifecycle of a section of the datalogger.

    Implementations§

    Source§

    impl SectionHandle

    Source

    pub fn create(section_header: SectionHeader, buffer: &'static mut [u8]) -> Self

    Source

    pub fn get_user_buffer(&mut self) -> &mut [u8]

    Source

    pub fn update_header(&mut self)

    Trait Implementations§

    Source§

    impl Default for SectionHandle

    Source§

    fn default() -> SectionHandle

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where diff --git a/cu29_unifiedlog/struct.SectionHeader.html b/cu29_unifiedlog/struct.SectionHeader.html index 2f78ea546..0dbc36add 100644 --- a/cu29_unifiedlog/struct.SectionHeader.html +++ b/cu29_unifiedlog/struct.SectionHeader.html @@ -1,4 +1,4 @@ -SectionHeader in cu29_unifiedlog - Rust
    cu29_unifiedlog

    Struct SectionHeader

    Source
    pub struct SectionHeader { /* private fields */ }
    Expand description

    Each concurrent sublogger is tracked through a section header. +SectionHeader in cu29_unifiedlog - Rust

    cu29_unifiedlog

    Struct SectionHeader

    Source
    pub struct SectionHeader { /* private fields */ }
    Expand description

    Each concurrent sublogger is tracked through a section header. They form a linked list of sections. The entry type is used to identify the type of data in the section.

    Trait Implementations§

    Source§

    impl<'__de> BorrowDecode<'__de> for SectionHeader

    Source§

    fn borrow_decode<__D: BorrowDecoder<'__de>>( diff --git a/cu29_unifiedlog/struct.UnifiedLoggerBuilder.html b/cu29_unifiedlog/struct.UnifiedLoggerBuilder.html index e1224aa38..67282372b 100644 --- a/cu29_unifiedlog/struct.UnifiedLoggerBuilder.html +++ b/cu29_unifiedlog/struct.UnifiedLoggerBuilder.html @@ -1,4 +1,4 @@ -UnifiedLoggerBuilder in cu29_unifiedlog - Rust
    cu29_unifiedlog

    Struct UnifiedLoggerBuilder

    Source
    pub struct UnifiedLoggerBuilder { /* private fields */ }
    Expand description

    Use this builder to create a new DataLogger.

    +UnifiedLoggerBuilder in cu29_unifiedlog - Rust
    cu29_unifiedlog

    Struct UnifiedLoggerBuilder

    Source
    pub struct UnifiedLoggerBuilder { /* private fields */ }
    Expand description

    Use this builder to create a new DataLogger.

    Implementations§

    Source§

    impl UnifiedLoggerBuilder

    Source

    pub fn new() -> Self

    Source

    pub fn file_base_name(self, file_path: &Path) -> Self

    If “something/toto.copper” is given, it will find or create “something/toto_0.copper”, “something/toto_1.copper” etc.

    Source

    pub fn preallocated_size(self, preallocated_size: usize) -> Self

    Source

    pub fn write(self, write: bool) -> Self

    Source

    pub fn create(self, create: bool) -> Self

    Source

    pub fn build(self) -> Result<UnifiedLogger>

    Trait Implementations§

    Source§

    impl Default for UnifiedLoggerBuilder

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where diff --git a/cu29_unifiedlog/struct.UnifiedLoggerIOReader.html b/cu29_unifiedlog/struct.UnifiedLoggerIOReader.html index 6431d768e..8aa60c625 100644 --- a/cu29_unifiedlog/struct.UnifiedLoggerIOReader.html +++ b/cu29_unifiedlog/struct.UnifiedLoggerIOReader.html @@ -1,4 +1,4 @@ -UnifiedLoggerIOReader in cu29_unifiedlog - Rust
    cu29_unifiedlog

    Struct UnifiedLoggerIOReader

    Source
    pub struct UnifiedLoggerIOReader { /* private fields */ }
    Expand description

    This a convenience wrapper around the UnifiedLoggerRead to implement the Read trait.

    +UnifiedLoggerIOReader in cu29_unifiedlog - Rust
    cu29_unifiedlog

    Struct UnifiedLoggerIOReader

    Source
    pub struct UnifiedLoggerIOReader { /* private fields */ }
    Expand description

    This a convenience wrapper around the UnifiedLoggerRead to implement the Read trait.

    Implementations§

    Source§

    impl UnifiedLoggerIOReader

    Source

    pub fn new(logger: UnifiedLoggerRead, log_type: UnifiedLogType) -> Self

    Trait Implementations§

    Source§

    impl Read for UnifiedLoggerIOReader

    Source§

    fn read(&mut self, buf: &mut [u8]) -> Result<usize>

    Pull some bytes from this source into the specified buffer, returning how many bytes were read. Read more
    1.36.0 · Source§

    fn read_vectored(&mut self, bufs: &mut [IoSliceMut<'_>]) -> Result<usize, Error>

    Like read, except that it reads into a slice of buffers. Read more
    Source§

    fn is_read_vectored(&self) -> bool

    🔬This is a nightly-only experimental API. (can_vector)
    Determines if this Reader has an efficient read_vectored implementation. Read more
    1.0.0 · Source§

    fn read_to_end(&mut self, buf: &mut Vec<u8>) -> Result<usize, Error>

    Reads all bytes until EOF in this source, placing them into buf. Read more
    1.0.0 · Source§

    fn read_to_string(&mut self, buf: &mut String) -> Result<usize, Error>

    Reads all bytes until EOF in this source, appending them to buf. Read more
    1.6.0 · Source§

    fn read_exact(&mut self, buf: &mut [u8]) -> Result<(), Error>

    Reads the exact number of bytes required to fill buf. Read more
    Source§

    fn read_buf(&mut self, buf: BorrowedCursor<'_>) -> Result<(), Error>

    🔬This is a nightly-only experimental API. (read_buf)
    Pull some bytes from this source into the specified buffer. Read more
    Source§

    fn read_buf_exact(&mut self, cursor: BorrowedCursor<'_>) -> Result<(), Error>

    🔬This is a nightly-only experimental API. (read_buf)
    Reads the exact number of bytes required to fill cursor. Read more
    1.0.0 · Source§

    fn by_ref(&mut self) -> &mut Self
    where diff --git a/cu29_unifiedlog/struct.UnifiedLoggerRead.html b/cu29_unifiedlog/struct.UnifiedLoggerRead.html index cfbdeff56..6d9aa0f7f 100644 --- a/cu29_unifiedlog/struct.UnifiedLoggerRead.html +++ b/cu29_unifiedlog/struct.UnifiedLoggerRead.html @@ -1,4 +1,4 @@ -UnifiedLoggerRead in cu29_unifiedlog - Rust
    cu29_unifiedlog

    Struct UnifiedLoggerRead

    Source
    pub struct UnifiedLoggerRead { /* private fields */ }
    Expand description

    A read side of the datalogger.

    +UnifiedLoggerRead in cu29_unifiedlog - Rust
    cu29_unifiedlog

    Struct UnifiedLoggerRead

    Source
    pub struct UnifiedLoggerRead { /* private fields */ }
    Expand description

    A read side of the datalogger.

    Implementations§

    Source§

    impl UnifiedLoggerRead

    Source

    pub fn new(base_file_path: &Path) -> Result<Self>

    Source

    pub fn read_next_section_type( &mut self, datalogtype: UnifiedLogType, diff --git a/cu29_unifiedlog/struct.UnifiedLoggerWrite.html b/cu29_unifiedlog/struct.UnifiedLoggerWrite.html index 42bcc0fba..1f5182839 100644 --- a/cu29_unifiedlog/struct.UnifiedLoggerWrite.html +++ b/cu29_unifiedlog/struct.UnifiedLoggerWrite.html @@ -1,4 +1,4 @@ -UnifiedLoggerWrite in cu29_unifiedlog - Rust
    cu29_unifiedlog

    Struct UnifiedLoggerWrite

    Source
    pub struct UnifiedLoggerWrite { /* private fields */ }
    Expand description

    A write side of the datalogger.

    +UnifiedLoggerWrite in cu29_unifiedlog - Rust
    cu29_unifiedlog

    Struct UnifiedLoggerWrite

    Source
    pub struct UnifiedLoggerWrite { /* private fields */ }
    Expand description

    A write side of the datalogger.

    Implementations§

    Source§

    impl UnifiedLoggerWrite

    Source

    pub fn flush_section(&mut self, section: &mut SectionHandle)

    Source

    pub fn stats(&self) -> (usize, Vec<usize>, usize)

    Trait Implementations§

    Source§

    impl Drop for UnifiedLoggerWrite

    Source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where diff --git a/help.html b/help.html index fa303c2ba..33f300485 100644 --- a/help.html +++ b/help.html @@ -1 +1 @@ -Help

    Rustdoc help

    Back
    \ No newline at end of file +Help

    Rustdoc help

    Back
    \ No newline at end of file diff --git a/index.html b/index.html index 5a3c22771..4732f54c9 100644 --- a/index.html +++ b/index.html @@ -1,2 +1,2 @@ -Index of crates
    - \ No newline at end of file +Index of crates
    + \ No newline at end of file diff --git a/settings.html b/settings.html index ab7801cf3..e263da4a9 100644 --- a/settings.html +++ b/settings.html @@ -1 +1 @@ -Settings

    Rustdoc settings

    Back
    \ No newline at end of file +Settings

    Rustdoc settings

    Back
    \ No newline at end of file diff --git a/src/cu29/lib.rs.html b/src/cu29/lib.rs.html index 479ce4979..5224c1a7a 100644 --- a/src/cu29/lib.rs.html +++ b/src/cu29/lib.rs.html @@ -1,4 +1,4 @@ -lib.rs - source

    cu29/
    lib.rs

    +lib.rs - source

    cu29/
    lib.rs

     1
     2
     3
    diff --git a/src/cu29_clock/lib.rs.html b/src/cu29_clock/lib.rs.html
    index 4848da952..a5620f981 100644
    --- a/src/cu29_clock/lib.rs.html
    +++ b/src/cu29_clock/lib.rs.html
    @@ -1,4 +1,4 @@
    -lib.rs - source

    cu29_clock/
    lib.rs

    +lib.rs - source

    cu29_clock/
    lib.rs

     1
     2
     3
    diff --git a/src/cu29_derive/format.rs.html b/src/cu29_derive/format.rs.html
    index 4449a6a3d..1e661f9ad 100644
    --- a/src/cu29_derive/format.rs.html
    +++ b/src/cu29_derive/format.rs.html
    @@ -1,4 +1,4 @@
    -format.rs - source

    cu29_derive/
    format.rs

    +format.rs - source

    cu29_derive/
    format.rs

     1
     2
     3
    diff --git a/src/cu29_derive/lib.rs.html b/src/cu29_derive/lib.rs.html
    index 50de99e79..3199bb2bc 100644
    --- a/src/cu29_derive/lib.rs.html
    +++ b/src/cu29_derive/lib.rs.html
    @@ -1,4 +1,4 @@
    -lib.rs - source

    cu29_derive/
    lib.rs

    +lib.rs - source

    cu29_derive/
    lib.rs

     1
     2
     3
    diff --git a/src/cu29_derive/utils.rs.html b/src/cu29_derive/utils.rs.html
    index 81c835bae..ed08c34c5 100644
    --- a/src/cu29_derive/utils.rs.html
    +++ b/src/cu29_derive/utils.rs.html
    @@ -1,4 +1,4 @@
    -utils.rs - source

    cu29_derive/
    utils.rs

    +utils.rs - source

    cu29_derive/
    utils.rs

     1
     2
     3
    diff --git a/src/cu29_export/lib.rs.html b/src/cu29_export/lib.rs.html
    index eb351e05a..e1ec5f2a6 100644
    --- a/src/cu29_export/lib.rs.html
    +++ b/src/cu29_export/lib.rs.html
    @@ -1,4 +1,4 @@
    -lib.rs - source

    cu29_export/
    lib.rs

    +lib.rs - source

    cu29_export/
    lib.rs

     1
     2
     3
    diff --git a/src/cu29_helpers/lib.rs.html b/src/cu29_helpers/lib.rs.html
    index 315e935d1..c9a355ac9 100644
    --- a/src/cu29_helpers/lib.rs.html
    +++ b/src/cu29_helpers/lib.rs.html
    @@ -1,4 +1,4 @@
    -lib.rs - source

    cu29_helpers/
    lib.rs

    +lib.rs - source

    cu29_helpers/
    lib.rs

     1
     2
     3
    diff --git a/src/cu29_intern_strs/lib.rs.html b/src/cu29_intern_strs/lib.rs.html
    index 624e29322..dc01d289c 100644
    --- a/src/cu29_intern_strs/lib.rs.html
    +++ b/src/cu29_intern_strs/lib.rs.html
    @@ -1,4 +1,4 @@
    -lib.rs - source

    cu29_intern_strs/
    lib.rs

    +lib.rs - source

    cu29_intern_strs/
    lib.rs

     1
     2
     3
    diff --git a/src/cu29_log/lib.rs.html b/src/cu29_log/lib.rs.html
    index f7f5aa605..b17d6566d 100644
    --- a/src/cu29_log/lib.rs.html
    +++ b/src/cu29_log/lib.rs.html
    @@ -1,4 +1,4 @@
    -lib.rs - source

    cu29_log/
    lib.rs

    +lib.rs - source

    cu29_log/
    lib.rs

     1
     2
     3
    diff --git a/src/cu29_log_derive/index.rs.html b/src/cu29_log_derive/index.rs.html
    index cc7a2b778..34bbd7dc2 100644
    --- a/src/cu29_log_derive/index.rs.html
    +++ b/src/cu29_log_derive/index.rs.html
    @@ -1,4 +1,4 @@
    -index.rs - source

    cu29_log_derive/
    index.rs

    +index.rs - source

    cu29_log_derive/
    index.rs

     1
     2
     3
    diff --git a/src/cu29_log_derive/lib.rs.html b/src/cu29_log_derive/lib.rs.html
    index ad3add45e..dd1864949 100644
    --- a/src/cu29_log_derive/lib.rs.html
    +++ b/src/cu29_log_derive/lib.rs.html
    @@ -1,4 +1,4 @@
    -lib.rs - source

    cu29_log_derive/
    lib.rs

    +lib.rs - source

    cu29_log_derive/
    lib.rs

     1
     2
     3
    diff --git a/src/cu29_log_runtime/lib.rs.html b/src/cu29_log_runtime/lib.rs.html
    index bb331c9a2..5385e65e3 100644
    --- a/src/cu29_log_runtime/lib.rs.html
    +++ b/src/cu29_log_runtime/lib.rs.html
    @@ -1,4 +1,4 @@
    -lib.rs - source

    cu29_log_runtime/
    lib.rs

    +lib.rs - source

    cu29_log_runtime/
    lib.rs

     1
     2
     3
    diff --git a/src/cu29_rendercfg/config.rs.html b/src/cu29_rendercfg/config.rs.html
    index 02383ecfe..f0b0606d1 100644
    --- a/src/cu29_rendercfg/config.rs.html
    +++ b/src/cu29_rendercfg/config.rs.html
    @@ -1,4 +1,4 @@
    -config.rs - source

    cu29_rendercfg/
    config.rs

    +config.rs - source

    cu29_rendercfg/
    config.rs

     1
     2
     3
    diff --git a/src/cu29_rendercfg/rendercfg.rs.html b/src/cu29_rendercfg/rendercfg.rs.html
    index 7bde41dfa..d5bb17620 100644
    --- a/src/cu29_rendercfg/rendercfg.rs.html
    +++ b/src/cu29_rendercfg/rendercfg.rs.html
    @@ -1,4 +1,4 @@
    -rendercfg.rs - source

    cu29_rendercfg/
    rendercfg.rs

    +rendercfg.rs - source

    cu29_rendercfg/
    rendercfg.rs

     1
     2
     3
    diff --git a/src/cu29_runtime/config.rs.html b/src/cu29_runtime/config.rs.html
    index 68cddda17..26278261a 100644
    --- a/src/cu29_runtime/config.rs.html
    +++ b/src/cu29_runtime/config.rs.html
    @@ -1,4 +1,4 @@
    -config.rs - source

    cu29_runtime/
    config.rs

    +config.rs - source

    cu29_runtime/
    config.rs

     1
     2
     3
    diff --git a/src/cu29_runtime/copperlist.rs.html b/src/cu29_runtime/copperlist.rs.html
    index cbe98bd0e..6ac4331dc 100644
    --- a/src/cu29_runtime/copperlist.rs.html
    +++ b/src/cu29_runtime/copperlist.rs.html
    @@ -1,4 +1,4 @@
    -copperlist.rs - source

    cu29_runtime/
    copperlist.rs

    +copperlist.rs - source

    cu29_runtime/
    copperlist.rs

     1
     2
     3
    diff --git a/src/cu29_runtime/curuntime.rs.html b/src/cu29_runtime/curuntime.rs.html
    index d02543bb2..12fc3bdcf 100644
    --- a/src/cu29_runtime/curuntime.rs.html
    +++ b/src/cu29_runtime/curuntime.rs.html
    @@ -1,4 +1,4 @@
    -curuntime.rs - source

    cu29_runtime/
    curuntime.rs

    +curuntime.rs - source

    cu29_runtime/
    curuntime.rs

     1
     2
     3
    diff --git a/src/cu29_runtime/cutask.rs.html b/src/cu29_runtime/cutask.rs.html
    index 09fef64a5..e868a1f0f 100644
    --- a/src/cu29_runtime/cutask.rs.html
    +++ b/src/cu29_runtime/cutask.rs.html
    @@ -1,4 +1,4 @@
    -cutask.rs - source

    cu29_runtime/
    cutask.rs

    +cutask.rs - source

    cu29_runtime/
    cutask.rs

     1
     2
     3
    diff --git a/src/cu29_runtime/lib.rs.html b/src/cu29_runtime/lib.rs.html
    index 0ff8ebbd7..84a3b27a9 100644
    --- a/src/cu29_runtime/lib.rs.html
    +++ b/src/cu29_runtime/lib.rs.html
    @@ -1,4 +1,4 @@
    -lib.rs - source

    cu29_runtime/
    lib.rs

    +lib.rs - source

    cu29_runtime/
    lib.rs

     1
     2
     3
    diff --git a/src/cu29_runtime/log.rs.html b/src/cu29_runtime/log.rs.html
    index 4ed3b1d80..00b3ccfd0 100644
    --- a/src/cu29_runtime/log.rs.html
    +++ b/src/cu29_runtime/log.rs.html
    @@ -1,4 +1,4 @@
    -log.rs - source

    cu29_runtime/
    log.rs

    +log.rs - source

    cu29_runtime/
    log.rs

     1
     2
     3
    diff --git a/src/cu29_runtime/monitoring.rs.html b/src/cu29_runtime/monitoring.rs.html
    index 5450ceb87..ebc0e5de8 100644
    --- a/src/cu29_runtime/monitoring.rs.html
    +++ b/src/cu29_runtime/monitoring.rs.html
    @@ -1,4 +1,4 @@
    -monitoring.rs - source

    cu29_runtime/
    monitoring.rs

    +monitoring.rs - source

    cu29_runtime/
    monitoring.rs

     1
     2
     3
    diff --git a/src/cu29_runtime/payload.rs.html b/src/cu29_runtime/payload.rs.html
    index e3c6fddae..86fb5da72 100644
    --- a/src/cu29_runtime/payload.rs.html
    +++ b/src/cu29_runtime/payload.rs.html
    @@ -1,4 +1,4 @@
    -payload.rs - source

    cu29_runtime/
    payload.rs

    +payload.rs - source

    cu29_runtime/
    payload.rs

     1
     2
     3
    diff --git a/src/cu29_runtime/pool.rs.html b/src/cu29_runtime/pool.rs.html
    index 00e63cd4d..7a4fca404 100644
    --- a/src/cu29_runtime/pool.rs.html
    +++ b/src/cu29_runtime/pool.rs.html
    @@ -1,4 +1,4 @@
    -pool.rs - source

    cu29_runtime/
    pool.rs

    +pool.rs - source

    cu29_runtime/
    pool.rs

     1
     2
     3
    diff --git a/src/cu29_runtime/simulation.rs.html b/src/cu29_runtime/simulation.rs.html
    index 114f28d63..f9edb1239 100644
    --- a/src/cu29_runtime/simulation.rs.html
    +++ b/src/cu29_runtime/simulation.rs.html
    @@ -1,4 +1,4 @@
    -simulation.rs - source

    cu29_runtime/
    simulation.rs

    +simulation.rs - source

    cu29_runtime/
    simulation.rs

     1
     2
     3
    diff --git a/src/cu29_soa_derive/format.rs.html b/src/cu29_soa_derive/format.rs.html
    index c6d84561f..189ed9db7 100644
    --- a/src/cu29_soa_derive/format.rs.html
    +++ b/src/cu29_soa_derive/format.rs.html
    @@ -1,4 +1,4 @@
    -format.rs - source

    cu29_soa_derive/
    format.rs

    +format.rs - source

    cu29_soa_derive/
    format.rs

     1
     2
     3
    diff --git a/src/cu29_soa_derive/lib.rs.html b/src/cu29_soa_derive/lib.rs.html
    index f5ece908e..109f553be 100644
    --- a/src/cu29_soa_derive/lib.rs.html
    +++ b/src/cu29_soa_derive/lib.rs.html
    @@ -1,4 +1,4 @@
    -lib.rs - source

    cu29_soa_derive/
    lib.rs

    +lib.rs - source

    cu29_soa_derive/
    lib.rs

     1
     2
     3
    diff --git a/src/cu29_traits/lib.rs.html b/src/cu29_traits/lib.rs.html
    index 86b6485eb..b8e2be352 100644
    --- a/src/cu29_traits/lib.rs.html
    +++ b/src/cu29_traits/lib.rs.html
    @@ -1,4 +1,4 @@
    -lib.rs - source

    cu29_traits/
    lib.rs

    +lib.rs - source

    cu29_traits/
    lib.rs

     1
     2
     3
    diff --git a/src/cu29_unifiedlog/lib.rs.html b/src/cu29_unifiedlog/lib.rs.html
    index 4e76b7695..d536b3608 100644
    --- a/src/cu29_unifiedlog/lib.rs.html
    +++ b/src/cu29_unifiedlog/lib.rs.html
    @@ -1,4 +1,4 @@
    -lib.rs - source

    cu29_unifiedlog/
    lib.rs

    +lib.rs - source

    cu29_unifiedlog/
    lib.rs

     1
     2
     3
    diff --git a/trait.impl/bincode/de/trait.BorrowDecode.js b/trait.impl/bincode/de/trait.BorrowDecode.js
    index 9c93894d6..490ce6bbb 100644
    --- a/trait.impl/bincode/de/trait.BorrowDecode.js
    +++ b/trait.impl/bincode/de/trait.BorrowDecode.js
    @@ -1,9 +1,9 @@
     (function() {
    -    var implementors = Object.fromEntries([["cu29_clock",[["impl<'__de> BorrowDecode<'__de> for Tov"],["impl<'__de> BorrowDecode<'__de> for CuTimeRange"],["impl<'__de> BorrowDecode<'__de> for OptionCuTime"],["impl<'__de> BorrowDecode<'__de> for PartialCuTimeRange"],["impl<'de> BorrowDecode<'de> for CuDuration"]]],["cu29_runtime",[["impl<'__de> BorrowDecode<'__de> for CopperListState"],["impl<'__de> BorrowDecode<'__de> for CopperLiskMask"],["impl<'__de> BorrowDecode<'__de> for CuMsgMetadata"],["impl<'__de, P> BorrowDecode<'__de> for CopperList<P>
    where\n P: BorrowDecode<'__de> + CopperListTuple,
    "],["impl<'__de, T> BorrowDecode<'__de> for CuMsg<T>
    where\n T: CuMsgPayload + BorrowDecode<'__de>,
    "],["impl<'de> BorrowDecode<'de> for CuCompactString"]]],["cu29_traits",[["impl<'__de> BorrowDecode<'__de> for UnifiedLogType"]]],["cu29_unifiedlog",[["impl<'__de> BorrowDecode<'__de> for SectionHeader"]]]]); + var implementors = Object.fromEntries([["cu29_clock",[["impl<'__de> BorrowDecode<'__de> for Tov"],["impl<'__de> BorrowDecode<'__de> for CuTimeRange"],["impl<'__de> BorrowDecode<'__de> for OptionCuTime"],["impl<'__de> BorrowDecode<'__de> for PartialCuTimeRange"],["impl<'de> BorrowDecode<'de> for CuDuration"]]],["cu29_runtime",[["impl<'__de> BorrowDecode<'__de> for CopperListState"],["impl<'__de> BorrowDecode<'__de> for CopperLiskMask"],["impl<'__de> BorrowDecode<'__de> for CuMsgMetadata"],["impl<'__de, P> BorrowDecode<'__de> for CopperList<P>
    where\n P: BorrowDecode<'__de> + CopperListTuple,
    "],["impl<'__de, T> BorrowDecode<'__de> for CuMsg<T>
    where\n T: CuMsgPayload + BorrowDecode<'__de>,
    "],["impl<'de> BorrowDecode<'de> for CuCompactString"]]],["cu29_traits",[["impl<'__de> BorrowDecode<'__de> for UnifiedLogType"]]],["cu29_unifiedlog",[["impl<'__de> BorrowDecode<'__de> for SectionHeader"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[1588,2789,340,355]} \ No newline at end of file +//{"start":57,"fragment_lengths":[1588,2673,340,355]} \ No newline at end of file diff --git a/trait.impl/bincode/de/trait.Decode.js b/trait.impl/bincode/de/trait.Decode.js index 8b09586d1..a97ddb73b 100644 --- a/trait.impl/bincode/de/trait.Decode.js +++ b/trait.impl/bincode/de/trait.Decode.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["cu29_clock",[["impl Decode for Tov"],["impl Decode for CuDuration"],["impl Decode for CuTimeRange"],["impl Decode for OptionCuTime"],["impl Decode for PartialCuTimeRange"]]],["cu29_log",[["impl Decode for CuLogEntry"]]],["cu29_runtime",[["impl Decode for CopperListState"],["impl Decode for CopperLiskMask"],["impl Decode for CuCompactString"],["impl Decode for CuMsgMetadata"],["impl<P> Decode for CopperList<P>
    where\n P: Decode + CopperListTuple,
    "],["impl<T> Decode for CuMsg<T>
    where\n T: CuMsgPayload + Decode,
    "],["impl<T, const N: usize> Decode for CuArray<T, N>
    where\n T: Decode,
    "],["impl<U: ElementType + 'static> Decode for CuHandle<Vec<U>>"]]],["cu29_traits",[["impl Decode for UnifiedLogType"]]],["cu29_unifiedlog",[["impl Decode for SectionHeader"]]]]); + var implementors = Object.fromEntries([["cu29_clock",[["impl Decode for Tov"],["impl Decode for CuDuration"],["impl Decode for CuTimeRange"],["impl Decode for OptionCuTime"],["impl Decode for PartialCuTimeRange"]]],["cu29_log",[["impl Decode for CuLogEntry"]]],["cu29_runtime",[["impl Decode for CopperListState"],["impl Decode for CopperLiskMask"],["impl Decode for CuCompactString"],["impl Decode for CuMsgMetadata"],["impl<P> Decode for CopperList<P>
    where\n P: Decode + CopperListTuple,
    "],["impl<T> Decode for CuMsg<T>
    where\n T: CuMsgPayload + Decode,
    "],["impl<T, const N: usize> Decode for CuArray<T, N>
    where\n T: Decode,
    "],["impl<U: ElementType + 'static> Decode for CuHandle<Vec<U>>"]]],["cu29_traits",[["impl Decode for UnifiedLogType"]]],["cu29_unifiedlog",[["impl Decode for SectionHeader"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[1372,281,3651,296,311]} \ No newline at end of file +//{"start":57,"fragment_lengths":[1372,281,3535,296,311]} \ No newline at end of file diff --git a/trait.impl/bincode/enc/trait.Encode.js b/trait.impl/bincode/enc/trait.Encode.js index 95814db5f..962d897ce 100644 --- a/trait.impl/bincode/enc/trait.Encode.js +++ b/trait.impl/bincode/enc/trait.Encode.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["cu29_clock",[["impl Encode for Tov"],["impl Encode for CuDuration"],["impl Encode for CuTimeRange"],["impl Encode for OptionCuTime"],["impl Encode for PartialCuTimeRange"]]],["cu29_log",[["impl Encode for CuLogEntry"]]],["cu29_runtime",[["impl Encode for CopperListState"],["impl Encode for CopperLiskMask"],["impl Encode for CuCompactString"],["impl Encode for CuMsgMetadata"],["impl<P> Encode for CopperList<P>
    where\n P: Encode + CopperListTuple,
    "],["impl<T> Encode for CuMsg<T>
    where\n T: CuMsgPayload + Encode,
    "],["impl<T, const N: usize> Encode for CuArray<T, N>
    where\n T: Encode,
    "],["impl<T: ArrayLike> Encode for CuHandle<T>
    where\n <T as ArrayLike>::Element: 'static,
    "]]],["cu29_traits",[["impl Encode for UnifiedLogType"]]],["cu29_unifiedlog",[["impl Encode for SectionHeader"]]]]); + var implementors = Object.fromEntries([["cu29_clock",[["impl Encode for Tov"],["impl Encode for CuDuration"],["impl Encode for CuTimeRange"],["impl Encode for OptionCuTime"],["impl Encode for PartialCuTimeRange"]]],["cu29_log",[["impl Encode for CuLogEntry"]]],["cu29_runtime",[["impl Encode for CopperListState"],["impl Encode for CopperLiskMask"],["impl Encode for CuCompactString"],["impl Encode for CuMsgMetadata"],["impl<P> Encode for CopperList<P>
    where\n P: Encode + CopperListTuple,
    "],["impl<T> Encode for CuMsg<T>
    where\n T: CuMsgPayload + Encode,
    "],["impl<T, const N: usize> Encode for CuArray<T, N>
    where\n T: Encode,
    "],["impl<T: ArrayLike> Encode for CuHandle<T>
    where\n <T as ArrayLike>::Element: 'static,
    "]]],["cu29_traits",[["impl Encode for UnifiedLogType"]]],["cu29_unifiedlog",[["impl Encode for SectionHeader"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[1382,283,3873,298,313]} \ No newline at end of file +//{"start":57,"fragment_lengths":[1382,283,3757,298,313]} \ No newline at end of file diff --git a/trait.impl/core/default/trait.Default.js b/trait.impl/core/default/trait.Default.js index 54c73aa8d..f3d2fd832 100644 --- a/trait.impl/core/default/trait.Default.js +++ b/trait.impl/core/default/trait.Default.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["cu29_clock",[["impl Default for Tov"],["impl Default for CuDuration"],["impl Default for OptionCuTime"],["impl Default for PartialCuTimeRange"],["impl Default for RobotClock"]]],["cu29_rendercfg",[["impl Default for ComponentConfig"],["impl Default for CuConfig"],["impl Default for CuConfigRepresentation"],["impl Default for LoggingConfig"],["impl Default for MonitorConfig"]]],["cu29_runtime",[["impl Default for ComponentConfig"],["impl Default for CuConfig"],["impl Default for LoggingConfig"],["impl Default for MonitorConfig"],["impl Default for CuCompactString"],["impl Default for CuMsgMetadata"],["impl Default for CountingAllocator"],["impl Default for ScopedAllocCounter"],["impl<P: CopperListTuple, const N: usize> Default for CuListsManager<P, N>"],["impl<T> Default for CuMsg<T>
    where\n T: CuMsgPayload + Default,
    "],["impl<T: ArrayLike> Default for CuHandle<T>"],["impl<T: Default, const N: usize> Default for CuArray<T, N>"]]],["cu29_unifiedlog",[["impl Default for SectionHandle"],["impl Default for SectionHeader"],["impl Default for UnifiedLoggerBuilder"]]]]); + var implementors = Object.fromEntries([["cu29_clock",[["impl Default for Tov"],["impl Default for CuDuration"],["impl Default for OptionCuTime"],["impl Default for PartialCuTimeRange"],["impl Default for RobotClock"]]],["cu29_rendercfg",[["impl Default for ComponentConfig"],["impl Default for CuConfig"],["impl Default for CuConfigRepresentation"],["impl Default for LoggingConfig"],["impl Default for MonitorConfig"]]],["cu29_runtime",[["impl Default for ComponentConfig"],["impl Default for CuConfig"],["impl Default for LoggingConfig"],["impl Default for MonitorConfig"],["impl Default for CuCompactString"],["impl Default for CuMsgMetadata"],["impl Default for CountingAllocator"],["impl Default for ScopedAllocCounter"],["impl<P: CopperListTuple, const N: usize> Default for CuListsManager<P, N>"],["impl<T> Default for CuMsg<T>
    where\n T: CuMsgPayload + Default,
    "],["impl<T: ArrayLike> Default for CuHandle<T>"],["impl<T: Default, const N: usize> Default for CuArray<T, N>"]]],["cu29_unifiedlog",[["impl Default for SectionHandle"],["impl Default for SectionHeader"],["impl Default for UnifiedLoggerBuilder"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[1399,1579,4694,928]} \ No newline at end of file +//{"start":57,"fragment_lengths":[1399,1579,4578,928]} \ No newline at end of file diff --git a/trait.impl/core/fmt/trait.Debug.js b/trait.impl/core/fmt/trait.Debug.js index b1d6e9269..8dd24e0a5 100644 --- a/trait.impl/core/fmt/trait.Debug.js +++ b/trait.impl/core/fmt/trait.Debug.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["cu29_clock",[["impl Debug for Tov"],["impl Debug for CuDuration"],["impl Debug for CuTimeRange"],["impl Debug for OptionCuTime"],["impl Debug for PartialCuTimeRange"],["impl Debug for RobotClock"],["impl Debug for RobotClockMock"]]],["cu29_log",[["impl Debug for CuLogEntry"]]],["cu29_log_runtime",[["impl Debug for SimpleFileWriter"]]],["cu29_rendercfg",[["impl Debug for Cnx"],["impl Debug for ComponentConfig"],["impl Debug for CuConfig"],["impl Debug for LoggingConfig"],["impl Debug for MonitorConfig"],["impl Debug for Node"],["impl Debug for Value"]]],["cu29_runtime",[["impl Debug for CopperListState"],["impl Debug for CuExecutionUnit"],["impl Debug for CuTaskType"],["impl Debug for CuTaskState"],["impl Debug for Decision"],["impl Debug for Cnx"],["impl Debug for ComponentConfig"],["impl Debug for CuConfig"],["impl Debug for LoggingConfig"],["impl Debug for MonitorConfig"],["impl Debug for Node"],["impl Debug for Value"],["impl Debug for CopperLiskMask"],["impl Debug for CuExecutionLoop"],["impl Debug for CuExecutionStep"],["impl Debug for CuCompactString"],["impl Debug for CuMsgMetadata"],["impl Debug for CuDurationStatistics"],["impl Debug for LiveStatistics"],["impl<E: Debug + ElementType> Debug for AlignedBuffer<E>"],["impl<P: CopperListTuple + Debug, const N: usize> Debug for CuListsManager<P, N>"],["impl<P: Debug + CopperListTuple> Debug for CopperList<P>"],["impl<T> Debug for CuHandleInner<T>
    where\n T: Debug,
    "],["impl<T> Debug for CuMsg<T>
    where\n T: CuMsgPayload + Debug,
    "],["impl<T: Debug + ArrayLike> Debug for CuHandle<T>"],["impl<T: Debug, const N: usize> Debug for CuArray<T, N>"]]],["cu29_traits",[["impl Debug for UnifiedLogType"],["impl Debug for CuError"]]],["cu29_unifiedlog",[["impl Debug for SectionHeader"]]]]); + var implementors = Object.fromEntries([["cu29_clock",[["impl Debug for Tov"],["impl Debug for CuDuration"],["impl Debug for CuTimeRange"],["impl Debug for OptionCuTime"],["impl Debug for PartialCuTimeRange"],["impl Debug for RobotClock"],["impl Debug for RobotClockMock"]]],["cu29_log",[["impl Debug for CuLogEntry"]]],["cu29_log_runtime",[["impl Debug for SimpleFileWriter"]]],["cu29_rendercfg",[["impl Debug for Cnx"],["impl Debug for ComponentConfig"],["impl Debug for CuConfig"],["impl Debug for LoggingConfig"],["impl Debug for MonitorConfig"],["impl Debug for Node"],["impl Debug for Value"]]],["cu29_runtime",[["impl Debug for CopperListState"],["impl Debug for CuExecutionUnit"],["impl Debug for CuTaskType"],["impl Debug for CuTaskState"],["impl Debug for Decision"],["impl Debug for Cnx"],["impl Debug for ComponentConfig"],["impl Debug for CuConfig"],["impl Debug for LoggingConfig"],["impl Debug for MonitorConfig"],["impl Debug for Node"],["impl Debug for Value"],["impl Debug for CopperLiskMask"],["impl Debug for CuExecutionLoop"],["impl Debug for CuExecutionStep"],["impl Debug for CuCompactString"],["impl Debug for CuMsgMetadata"],["impl Debug for CuDurationStatistics"],["impl Debug for LiveStatistics"],["impl<E: Debug + ElementType> Debug for AlignedBuffer<E>"],["impl<P: Debug + CopperListTuple> Debug for CopperList<P>"],["impl<P: CopperListTuple + Debug, const N: usize> Debug for CuListsManager<P, N>"],["impl<T> Debug for CuHandleInner<T>
    where\n T: Debug,
    "],["impl<T> Debug for CuMsg<T>
    where\n T: CuMsgPayload + Debug,
    "],["impl<T: Debug + ArrayLike> Debug for CuHandle<T>"],["impl<T: Debug, const N: usize> Debug for CuArray<T, N>"]]],["cu29_traits",[["impl Debug for UnifiedLogType"],["impl Debug for CuError"]]],["cu29_unifiedlog",[["impl Debug for SectionHeader"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[1868,273,315,1989,9507,543,303]} \ No newline at end of file +//{"start":57,"fragment_lengths":[1868,273,315,1989,9275,543,303]} \ No newline at end of file diff --git a/trait.impl/cu29_clock/trait.ClockProvider.js b/trait.impl/cu29_clock/trait.ClockProvider.js index 2b6bb4117..960f3182a 100644 --- a/trait.impl/cu29_clock/trait.ClockProvider.js +++ b/trait.impl/cu29_clock/trait.ClockProvider.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["cu29",[]],["cu29_runtime",[["impl<CT, P: CopperListTuple, M: CuMonitor, const NBCL: usize> ClockProvider for CuRuntime<CT, P, M, NBCL>"]]]]); + var implementors = Object.fromEntries([["cu29",[]],["cu29_runtime",[["impl<CT, P: CopperListTuple, M: CuMonitor, const NBCL: usize> ClockProvider for CuRuntime<CT, P, M, NBCL>"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[11,721]} \ No newline at end of file +//{"start":57,"fragment_lengths":[11,495]} \ No newline at end of file diff --git a/type.impl/cu29/prelude/struct.CuDuration.js b/type.impl/cu29/prelude/struct.CuDuration.js index 6c68fb8c1..0010060c5 100644 --- a/type.impl/cu29/prelude/struct.CuDuration.js +++ b/type.impl/cu29/prelude/struct.CuDuration.js @@ -1,9 +1,9 @@ (function() { - var type_impls = Object.fromEntries([["cu29",[["
    Source§

    impl Add for CuDuration

    Source§

    type Output = CuDuration

    The resulting type after applying the + operator.
    Source§

    fn add(self, rhs: CuDuration) -> <CuDuration as Add>::Output

    Performs the + operation. Read more
    ","Add","cu29::prelude::CuTime"],["
    Source§

    impl AddAssign for CuDuration

    Source§

    fn add_assign(&mut self, rhs: CuDuration)

    Performs the += operation. Read more
    ","AddAssign","cu29::prelude::CuTime"],["
    Source§

    impl<'de> BorrowDecode<'de> for CuDuration

    Source§

    fn borrow_decode<D>(decoder: &mut D) -> Result<CuDuration, DecodeError>
    where\n D: BorrowDecoder<'de>,

    Attempt to decode this type with the given BorrowDecode.
    ","BorrowDecode<'de>","cu29::prelude::CuTime"],["
    Source§

    impl Clone for CuDuration

    Source§

    fn clone(&self) -> CuDuration

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    ","Clone","cu29::prelude::CuTime"],["
    Source§

    impl CuDuration

    Source

    pub const MIN: CuDuration

    Source

    pub const MAX: CuDuration

    Source

    pub fn max(&self, p0: CuDuration) -> CuDuration

    Source

    pub fn min(&self, p0: CuDuration) -> CuDuration

    Source

    pub fn as_nanos(&self) -> u64

    ",0,"cu29::prelude::CuTime"],["
    Source§

    impl Debug for CuDuration

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    ","Debug","cu29::prelude::CuTime"],["
    Source§

    impl Decode for CuDuration

    Source§

    fn decode<D>(decoder: &mut D) -> Result<CuDuration, DecodeError>
    where\n D: Decoder,

    Attempt to decode this type with the given Decode.
    ","Decode","cu29::prelude::CuTime"],["
    Source§

    impl Default for CuDuration

    Source§

    fn default() -> CuDuration

    Returns the “default value” for a type. Read more
    ","Default","cu29::prelude::CuTime"],["
    Source§

    impl<'de> Deserialize<'de> for CuDuration

    Source§

    fn deserialize<__D>(\n __deserializer: __D,\n) -> Result<CuDuration, <__D as Deserializer<'de>>::Error>
    where\n __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    ","Deserialize<'de>","cu29::prelude::CuTime"],["
    Source§

    impl Display for CuDuration

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    ","Display","cu29::prelude::CuTime"],["
    Source§

    impl<T> Div<T> for CuDuration
    where\n T: Into<u64>,

    Source§

    type Output = CuDuration

    The resulting type after applying the / operator.
    Source§

    fn div(self, rhs: T) -> CuDuration

    Performs the / operation. Read more
    ","Div","cu29::prelude::CuTime"],["
    Source§

    impl Encode for CuDuration

    Source§

    fn encode<E>(&self, encoder: &mut E) -> Result<(), EncodeError>
    where\n E: Encoder,

    Encode a given type.
    ","Encode","cu29::prelude::CuTime"],["
    Source§

    impl From<Duration> for CuDuration

    bridge the API with standard Durations.

    \n
    Source§

    fn from(duration: Duration) -> CuDuration

    Converts to this type from the input type.
    ","From","cu29::prelude::CuTime"],["
    Source§

    impl From<u64> for CuDuration

    Source§

    fn from(duration: u64) -> CuDuration

    Converts to this type from the input type.
    ","From","cu29::prelude::CuTime"],["
    Source§

    impl<T> Mul<T> for CuDuration
    where\n T: Into<u64>,

    Source§

    type Output = CuDuration

    The resulting type after applying the * operator.
    Source§

    fn mul(self, rhs: T) -> CuDuration

    Performs the * operation. Read more
    ","Mul","cu29::prelude::CuTime"],["
    Source§

    impl Ord for CuDuration

    Source§

    fn cmp(&self, other: &CuDuration) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · Source§

    fn max(self, other: Self) -> Self
    where\n Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · Source§

    fn min(self, other: Self) -> Self
    where\n Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · Source§

    fn clamp(self, min: Self, max: Self) -> Self
    where\n Self: Sized,

    Restrict a value to a certain interval. Read more
    ","Ord","cu29::prelude::CuTime"],["
    Source§

    impl PartialEq for CuDuration

    Source§

    fn eq(&self, other: &CuDuration) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
    ","PartialEq","cu29::prelude::CuTime"],["
    Source§

    impl PartialOrd for CuDuration

    Source§

    fn partial_cmp(&self, other: &CuDuration) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · Source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · Source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the\n<= operator. Read more
    1.0.0 · Source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the >\noperator. Read more
    1.0.0 · Source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by\nthe >= operator. Read more
    ","PartialOrd","cu29::prelude::CuTime"],["
    Source§

    impl Serialize for CuDuration

    Source§

    fn serialize<__S>(\n &self,\n __serializer: __S,\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where\n __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    ","Serialize","cu29::prelude::CuTime"],["
    Source§

    impl Sub for CuDuration

    Source§

    type Output = CuDuration

    The resulting type after applying the - operator.
    Source§

    fn sub(self, rhs: CuDuration) -> <CuDuration as Sub>::Output

    Performs the - operation. Read more
    ","Sub","cu29::prelude::CuTime"],["
    Source§

    impl SubAssign for CuDuration

    Source§

    fn sub_assign(&mut self, rhs: CuDuration)

    Performs the -= operation. Read more
    ","SubAssign","cu29::prelude::CuTime"],["
    Source§

    impl Copy for CuDuration

    ","Copy","cu29::prelude::CuTime"],["
    Source§

    impl Eq for CuDuration

    ","Eq","cu29::prelude::CuTime"],["
    Source§

    impl StructuralPartialEq for CuDuration

    ","StructuralPartialEq","cu29::prelude::CuTime"]]]]); + var type_impls = Object.fromEntries([["cu29",[["
    §

    impl Add for CuDuration

    §

    type Output = CuDuration

    The resulting type after applying the + operator.
    §

    fn add(self, rhs: CuDuration) -> <CuDuration as Add>::Output

    Performs the + operation. Read more
    ","Add","cu29::prelude::CuTime"],["
    §

    impl AddAssign for CuDuration

    §

    fn add_assign(&mut self, rhs: CuDuration)

    Performs the += operation. Read more
    ","AddAssign","cu29::prelude::CuTime"],["
    §

    impl<'de> BorrowDecode<'de> for CuDuration

    §

    fn borrow_decode<D>(decoder: &mut D) -> Result<CuDuration, DecodeError>
    where\n D: BorrowDecoder<'de>,

    Attempt to decode this type with the given BorrowDecode.
    ","BorrowDecode<'de>","cu29::prelude::CuTime"],["
    §

    impl Clone for CuDuration

    §

    fn clone(&self) -> CuDuration

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    ","Clone","cu29::prelude::CuTime"],["
    §

    impl CuDuration

    pub const MIN: CuDuration

    pub const MAX: CuDuration

    pub fn max(&self, p0: CuDuration) -> CuDuration

    pub fn min(&self, p0: CuDuration) -> CuDuration

    pub fn as_nanos(&self) -> u64

    ",0,"cu29::prelude::CuTime"],["
    §

    impl Debug for CuDuration

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    ","Debug","cu29::prelude::CuTime"],["
    §

    impl Decode for CuDuration

    §

    fn decode<D>(decoder: &mut D) -> Result<CuDuration, DecodeError>
    where\n D: Decoder,

    Attempt to decode this type with the given Decode.
    ","Decode","cu29::prelude::CuTime"],["
    §

    impl Default for CuDuration

    §

    fn default() -> CuDuration

    Returns the “default value” for a type. Read more
    ","Default","cu29::prelude::CuTime"],["
    §

    impl<'de> Deserialize<'de> for CuDuration

    §

    fn deserialize<__D>(\n __deserializer: __D,\n) -> Result<CuDuration, <__D as Deserializer<'de>>::Error>
    where\n __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    ","Deserialize<'de>","cu29::prelude::CuTime"],["
    §

    impl Display for CuDuration

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    ","Display","cu29::prelude::CuTime"],["
    §

    impl<T> Div<T> for CuDuration
    where\n T: Into<u64>,

    §

    type Output = CuDuration

    The resulting type after applying the / operator.
    §

    fn div(self, rhs: T) -> CuDuration

    Performs the / operation. Read more
    ","Div","cu29::prelude::CuTime"],["
    §

    impl Encode for CuDuration

    §

    fn encode<E>(&self, encoder: &mut E) -> Result<(), EncodeError>
    where\n E: Encoder,

    Encode a given type.
    ","Encode","cu29::prelude::CuTime"],["
    §

    impl From<Duration> for CuDuration

    bridge the API with standard Durations.

    \n
    §

    fn from(duration: Duration) -> CuDuration

    Converts to this type from the input type.
    ","From","cu29::prelude::CuTime"],["
    §

    impl From<u64> for CuDuration

    §

    fn from(duration: u64) -> CuDuration

    Converts to this type from the input type.
    ","From","cu29::prelude::CuTime"],["
    §

    impl<T> Mul<T> for CuDuration
    where\n T: Into<u64>,

    §

    type Output = CuDuration

    The resulting type after applying the * operator.
    §

    fn mul(self, rhs: T) -> CuDuration

    Performs the * operation. Read more
    ","Mul","cu29::prelude::CuTime"],["
    §

    impl Ord for CuDuration

    §

    fn cmp(&self, other: &CuDuration) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · Source§

    fn max(self, other: Self) -> Self
    where\n Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · Source§

    fn min(self, other: Self) -> Self
    where\n Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · Source§

    fn clamp(self, min: Self, max: Self) -> Self
    where\n Self: Sized,

    Restrict a value to a certain interval. Read more
    ","Ord","cu29::prelude::CuTime"],["
    §

    impl PartialEq for CuDuration

    §

    fn eq(&self, other: &CuDuration) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
    ","PartialEq","cu29::prelude::CuTime"],["
    §

    impl PartialOrd for CuDuration

    §

    fn partial_cmp(&self, other: &CuDuration) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · Source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · Source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the\n<= operator. Read more
    1.0.0 · Source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the >\noperator. Read more
    1.0.0 · Source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by\nthe >= operator. Read more
    ","PartialOrd","cu29::prelude::CuTime"],["
    §

    impl Serialize for CuDuration

    §

    fn serialize<__S>(\n &self,\n __serializer: __S,\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where\n __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    ","Serialize","cu29::prelude::CuTime"],["
    §

    impl Sub for CuDuration

    §

    type Output = CuDuration

    The resulting type after applying the - operator.
    §

    fn sub(self, rhs: CuDuration) -> <CuDuration as Sub>::Output

    Performs the - operation. Read more
    ","Sub","cu29::prelude::CuTime"],["
    §

    impl SubAssign for CuDuration

    §

    fn sub_assign(&mut self, rhs: CuDuration)

    Performs the -= operation. Read more
    ","SubAssign","cu29::prelude::CuTime"],["
    §

    impl Copy for CuDuration

    ","Copy","cu29::prelude::CuTime"],["
    §

    impl Eq for CuDuration

    ","Eq","cu29::prelude::CuTime"],["
    §

    impl StructuralPartialEq for CuDuration

    ","StructuralPartialEq","cu29::prelude::CuTime"]]]]); if (window.register_type_impls) { window.register_type_impls(type_impls); } else { window.pending_type_impls = type_impls; } })() -//{"start":55,"fragment_lengths":[50512]} \ No newline at end of file +//{"start":55,"fragment_lengths":[46461]} \ No newline at end of file