#[repr(u8)]pub enum ArchivedSimEventwhere
OrderId: Archive,
TaskId: Archive,
RobotId: Archive,
NodeId: Archive,
EdgeId: Archive,
StationId: Archive,
SkuId: Archive,
BinId: Archive,
i32: Archive,
ShipmentId: Archive,
u32: Archive,
ChargingStationId: Archive,
f64: Archive,
Vec<RobotId>: Archive,
Option<TaskId>: Archive,
MaintenanceStationId: Archive,
bool: Archive,{
Show 26 variants
OrderArrival {
order_id: <OrderId as Archive>::Archived,
},
TaskAssignment {
task_id: <TaskId as Archive>::Archived,
robot_id: <RobotId as Archive>::Archived,
},
RobotDepartNode {
robot_id: <RobotId as Archive>::Archived,
from_node: <NodeId as Archive>::Archived,
to_node: <NodeId as Archive>::Archived,
edge_id: <EdgeId as Archive>::Archived,
},
RobotArriveNode {
robot_id: <RobotId as Archive>::Archived,
node_id: <NodeId as Archive>::Archived,
from_node: <NodeId as Archive>::Archived,
},
StationServiceStart {
robot_id: <RobotId as Archive>::Archived,
station_id: <StationId as Archive>::Archived,
task_id: <TaskId as Archive>::Archived,
},
StationServiceEnd {
robot_id: <RobotId as Archive>::Archived,
station_id: <StationId as Archive>::Archived,
task_id: <TaskId as Archive>::Archived,
},
InventoryUpdate {
sku_id: <SkuId as Archive>::Archived,
bin_id: <BinId as Archive>::Archived,
delta: <i32 as Archive>::Archived,
task_id: <TaskId as Archive>::Archived,
},
RobotWaitStart {
robot_id: <RobotId as Archive>::Archived,
at_node: <NodeId as Archive>::Archived,
waiting_for_edge: <EdgeId as Archive>::Archived,
},
RobotWaitEnd {
robot_id: <RobotId as Archive>::Archived,
at_node: <NodeId as Archive>::Archived,
},
RobotPickup {
robot_id: <RobotId as Archive>::Archived,
task_id: <TaskId as Archive>::Archived,
node_id: <NodeId as Archive>::Archived,
},
DispatchTasks,
InboundArrival {
shipment_id: <ShipmentId as Archive>::Archived,
station_id: <StationId as Archive>::Archived,
},
PutawayTaskCreated {
task_id: <TaskId as Archive>::Archived,
shipment_id: <ShipmentId as Archive>::Archived,
},
OutboundReady {
order_id: <OrderId as Archive>::Archived,
},
ShipmentDeparture {
shipment_id: <ShipmentId as Archive>::Archived,
station_id: <StationId as Archive>::Archived,
},
ReplenishmentTrigger {
sku_id: <SkuId as Archive>::Archived,
bin_id: <BinId as Archive>::Archived,
current_qty: <u32 as Archive>::Archived,
threshold: <u32 as Archive>::Archived,
},
RobotChargingStart {
robot_id: <RobotId as Archive>::Archived,
station_id: <ChargingStationId as Archive>::Archived,
},
RobotChargingEnd {
robot_id: <RobotId as Archive>::Archived,
station_id: <ChargingStationId as Archive>::Archived,
energy_charged_wh: <f64 as Archive>::Archived,
},
RobotLowBattery {
robot_id: <RobotId as Archive>::Archived,
soc: <f64 as Archive>::Archived,
},
MetricsSampleTick,
DeadlockDetected {
robots: <Vec<RobotId> as Archive>::Archived,
},
DeadlockResolved {
robots: <Vec<RobotId> as Archive>::Archived,
resolver_robot: <RobotId as Archive>::Archived,
},
RobotFailure {
robot_id: <RobotId as Archive>::Archived,
interrupted_task: <Option<TaskId> as Archive>::Archived,
},
RobotMaintenanceDue {
robot_id: <RobotId as Archive>::Archived,
operating_hours: <f64 as Archive>::Archived,
},
MaintenanceStart {
robot_id: <RobotId as Archive>::Archived,
station_id: <MaintenanceStationId as Archive>::Archived,
is_repair: <bool as Archive>::Archived,
},
MaintenanceEnd {
robot_id: <RobotId as Archive>::Archived,
station_id: <MaintenanceStationId as Archive>::Archived,
is_repair: <bool as Archive>::Archived,
duration_s: <f64 as Archive>::Archived,
},
}Expand description
An archived SimEvent
Variants§
OrderArrival
The archived counterpart of SimEvent::OrderArrival
Fields
order_id: <OrderId as Archive>::ArchivedThe archived counterpart of SimEvent::OrderArrival::order_id
TaskAssignment
The archived counterpart of SimEvent::TaskAssignment
Fields
task_id: <TaskId as Archive>::ArchivedThe archived counterpart of SimEvent::TaskAssignment::task_id
robot_id: <RobotId as Archive>::ArchivedThe archived counterpart of SimEvent::TaskAssignment::robot_id
RobotDepartNode
The archived counterpart of SimEvent::RobotDepartNode
Fields
robot_id: <RobotId as Archive>::ArchivedThe archived counterpart of SimEvent::RobotDepartNode::robot_id
from_node: <NodeId as Archive>::ArchivedThe archived counterpart of SimEvent::RobotDepartNode::from_node
to_node: <NodeId as Archive>::ArchivedThe archived counterpart of SimEvent::RobotDepartNode::to_node
edge_id: <EdgeId as Archive>::ArchivedThe archived counterpart of SimEvent::RobotDepartNode::edge_id
RobotArriveNode
The archived counterpart of SimEvent::RobotArriveNode
Fields
robot_id: <RobotId as Archive>::ArchivedThe archived counterpart of SimEvent::RobotArriveNode::robot_id
node_id: <NodeId as Archive>::ArchivedThe archived counterpart of SimEvent::RobotArriveNode::node_id
from_node: <NodeId as Archive>::ArchivedThe archived counterpart of SimEvent::RobotArriveNode::from_node
StationServiceStart
The archived counterpart of SimEvent::StationServiceStart
Fields
robot_id: <RobotId as Archive>::ArchivedThe archived counterpart of SimEvent::StationServiceStart::robot_id
station_id: <StationId as Archive>::ArchivedThe archived counterpart of SimEvent::StationServiceStart::station_id
task_id: <TaskId as Archive>::ArchivedThe archived counterpart of SimEvent::StationServiceStart::task_id
StationServiceEnd
The archived counterpart of SimEvent::StationServiceEnd
Fields
robot_id: <RobotId as Archive>::ArchivedThe archived counterpart of SimEvent::StationServiceEnd::robot_id
station_id: <StationId as Archive>::ArchivedThe archived counterpart of SimEvent::StationServiceEnd::station_id
task_id: <TaskId as Archive>::ArchivedThe archived counterpart of SimEvent::StationServiceEnd::task_id
InventoryUpdate
The archived counterpart of SimEvent::InventoryUpdate
Fields
sku_id: <SkuId as Archive>::ArchivedThe archived counterpart of SimEvent::InventoryUpdate::sku_id
bin_id: <BinId as Archive>::ArchivedThe archived counterpart of SimEvent::InventoryUpdate::bin_id
delta: <i32 as Archive>::ArchivedThe archived counterpart of SimEvent::InventoryUpdate::delta
task_id: <TaskId as Archive>::ArchivedThe archived counterpart of SimEvent::InventoryUpdate::task_id
RobotWaitStart
The archived counterpart of SimEvent::RobotWaitStart
Fields
robot_id: <RobotId as Archive>::ArchivedThe archived counterpart of SimEvent::RobotWaitStart::robot_id
at_node: <NodeId as Archive>::ArchivedThe archived counterpart of SimEvent::RobotWaitStart::at_node
waiting_for_edge: <EdgeId as Archive>::ArchivedThe archived counterpart of SimEvent::RobotWaitStart::waiting_for_edge
RobotWaitEnd
The archived counterpart of SimEvent::RobotWaitEnd
Fields
robot_id: <RobotId as Archive>::ArchivedThe archived counterpart of SimEvent::RobotWaitEnd::robot_id
at_node: <NodeId as Archive>::ArchivedThe archived counterpart of SimEvent::RobotWaitEnd::at_node
RobotPickup
The archived counterpart of SimEvent::RobotPickup
Fields
robot_id: <RobotId as Archive>::ArchivedThe archived counterpart of SimEvent::RobotPickup::robot_id
task_id: <TaskId as Archive>::ArchivedThe archived counterpart of SimEvent::RobotPickup::task_id
node_id: <NodeId as Archive>::ArchivedThe archived counterpart of SimEvent::RobotPickup::node_id
DispatchTasks
The archived counterpart of SimEvent::DispatchTasks
InboundArrival
The archived counterpart of SimEvent::InboundArrival
Fields
shipment_id: <ShipmentId as Archive>::ArchivedThe archived counterpart of SimEvent::InboundArrival::shipment_id
station_id: <StationId as Archive>::ArchivedThe archived counterpart of SimEvent::InboundArrival::station_id
PutawayTaskCreated
The archived counterpart of SimEvent::PutawayTaskCreated
Fields
task_id: <TaskId as Archive>::ArchivedThe archived counterpart of SimEvent::PutawayTaskCreated::task_id
shipment_id: <ShipmentId as Archive>::ArchivedThe archived counterpart of SimEvent::PutawayTaskCreated::shipment_id
OutboundReady
The archived counterpart of SimEvent::OutboundReady
Fields
order_id: <OrderId as Archive>::ArchivedThe archived counterpart of SimEvent::OutboundReady::order_id
ShipmentDeparture
The archived counterpart of SimEvent::ShipmentDeparture
Fields
shipment_id: <ShipmentId as Archive>::ArchivedThe archived counterpart of SimEvent::ShipmentDeparture::shipment_id
station_id: <StationId as Archive>::ArchivedThe archived counterpart of SimEvent::ShipmentDeparture::station_id
ReplenishmentTrigger
The archived counterpart of SimEvent::ReplenishmentTrigger
Fields
sku_id: <SkuId as Archive>::ArchivedThe archived counterpart of SimEvent::ReplenishmentTrigger::sku_id
bin_id: <BinId as Archive>::ArchivedThe archived counterpart of SimEvent::ReplenishmentTrigger::bin_id
current_qty: <u32 as Archive>::ArchivedThe archived counterpart of SimEvent::ReplenishmentTrigger::current_qty
threshold: <u32 as Archive>::ArchivedThe archived counterpart of SimEvent::ReplenishmentTrigger::threshold
RobotChargingStart
The archived counterpart of SimEvent::RobotChargingStart
Fields
robot_id: <RobotId as Archive>::ArchivedThe archived counterpart of SimEvent::RobotChargingStart::robot_id
station_id: <ChargingStationId as Archive>::ArchivedThe archived counterpart of SimEvent::RobotChargingStart::station_id
RobotChargingEnd
The archived counterpart of SimEvent::RobotChargingEnd
Fields
robot_id: <RobotId as Archive>::ArchivedThe archived counterpart of SimEvent::RobotChargingEnd::robot_id
station_id: <ChargingStationId as Archive>::ArchivedThe archived counterpart of SimEvent::RobotChargingEnd::station_id
energy_charged_wh: <f64 as Archive>::ArchivedThe archived counterpart of SimEvent::RobotChargingEnd::energy_charged_wh
RobotLowBattery
The archived counterpart of SimEvent::RobotLowBattery
Fields
robot_id: <RobotId as Archive>::ArchivedThe archived counterpart of SimEvent::RobotLowBattery::robot_id
soc: <f64 as Archive>::ArchivedThe archived counterpart of SimEvent::RobotLowBattery::soc
MetricsSampleTick
The archived counterpart of SimEvent::MetricsSampleTick
DeadlockDetected
The archived counterpart of SimEvent::DeadlockDetected
Fields
DeadlockResolved
The archived counterpart of SimEvent::DeadlockResolved
Fields
robots: <Vec<RobotId> as Archive>::ArchivedThe archived counterpart of SimEvent::DeadlockResolved::robots
resolver_robot: <RobotId as Archive>::ArchivedThe archived counterpart of SimEvent::DeadlockResolved::resolver_robot
RobotFailure
The archived counterpart of SimEvent::RobotFailure
Fields
robot_id: <RobotId as Archive>::ArchivedThe archived counterpart of SimEvent::RobotFailure::robot_id
RobotMaintenanceDue
The archived counterpart of SimEvent::RobotMaintenanceDue
Fields
robot_id: <RobotId as Archive>::ArchivedThe archived counterpart of SimEvent::RobotMaintenanceDue::robot_id
operating_hours: <f64 as Archive>::ArchivedThe archived counterpart of SimEvent::RobotMaintenanceDue::operating_hours
MaintenanceStart
The archived counterpart of SimEvent::MaintenanceStart
Fields
robot_id: <RobotId as Archive>::ArchivedThe archived counterpart of SimEvent::MaintenanceStart::robot_id
station_id: <MaintenanceStationId as Archive>::ArchivedThe archived counterpart of SimEvent::MaintenanceStart::station_id
is_repair: <bool as Archive>::ArchivedThe archived counterpart of SimEvent::MaintenanceStart::is_repair
MaintenanceEnd
The archived counterpart of SimEvent::MaintenanceEnd
Fields
robot_id: <RobotId as Archive>::ArchivedThe archived counterpart of SimEvent::MaintenanceEnd::robot_id
station_id: <MaintenanceStationId as Archive>::ArchivedThe archived counterpart of SimEvent::MaintenanceEnd::station_id
is_repair: <bool as Archive>::ArchivedThe archived counterpart of SimEvent::MaintenanceEnd::is_repair
duration_s: <f64 as Archive>::ArchivedThe archived counterpart of SimEvent::MaintenanceEnd::duration_s
Trait Implementations§
Source§impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedSimEventwhere
OrderId: Archive,
TaskId: Archive,
RobotId: Archive,
NodeId: Archive,
EdgeId: Archive,
StationId: Archive,
SkuId: Archive,
BinId: Archive,
i32: Archive,
ShipmentId: Archive,
u32: Archive,
ChargingStationId: Archive,
f64: Archive,
Vec<RobotId>: Archive,
Option<TaskId>: Archive,
MaintenanceStationId: Archive,
bool: Archive,
<__C as Fallible>::Error: Source,
<OrderId as Archive>::Archived: CheckBytes<__C>,
<TaskId as Archive>::Archived: CheckBytes<__C>,
<RobotId as Archive>::Archived: CheckBytes<__C>,
<NodeId as Archive>::Archived: CheckBytes<__C>,
<EdgeId as Archive>::Archived: CheckBytes<__C>,
<StationId as Archive>::Archived: CheckBytes<__C>,
<SkuId as Archive>::Archived: CheckBytes<__C>,
<BinId as Archive>::Archived: CheckBytes<__C>,
<i32 as Archive>::Archived: CheckBytes<__C>,
<ShipmentId as Archive>::Archived: CheckBytes<__C>,
<u32 as Archive>::Archived: CheckBytes<__C>,
<ChargingStationId as Archive>::Archived: CheckBytes<__C>,
<f64 as Archive>::Archived: CheckBytes<__C>,
<Vec<RobotId> as Archive>::Archived: CheckBytes<__C>,
<Option<TaskId> as Archive>::Archived: CheckBytes<__C>,
<MaintenanceStationId as Archive>::Archived: CheckBytes<__C>,
<bool as Archive>::Archived: CheckBytes<__C>,
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedSimEventwhere
OrderId: Archive,
TaskId: Archive,
RobotId: Archive,
NodeId: Archive,
EdgeId: Archive,
StationId: Archive,
SkuId: Archive,
BinId: Archive,
i32: Archive,
ShipmentId: Archive,
u32: Archive,
ChargingStationId: Archive,
f64: Archive,
Vec<RobotId>: Archive,
Option<TaskId>: Archive,
MaintenanceStationId: Archive,
bool: Archive,
<__C as Fallible>::Error: Source,
<OrderId as Archive>::Archived: CheckBytes<__C>,
<TaskId as Archive>::Archived: CheckBytes<__C>,
<RobotId as Archive>::Archived: CheckBytes<__C>,
<NodeId as Archive>::Archived: CheckBytes<__C>,
<EdgeId as Archive>::Archived: CheckBytes<__C>,
<StationId as Archive>::Archived: CheckBytes<__C>,
<SkuId as Archive>::Archived: CheckBytes<__C>,
<BinId as Archive>::Archived: CheckBytes<__C>,
<i32 as Archive>::Archived: CheckBytes<__C>,
<ShipmentId as Archive>::Archived: CheckBytes<__C>,
<u32 as Archive>::Archived: CheckBytes<__C>,
<ChargingStationId as Archive>::Archived: CheckBytes<__C>,
<f64 as Archive>::Archived: CheckBytes<__C>,
<Vec<RobotId> as Archive>::Archived: CheckBytes<__C>,
<Option<TaskId> as Archive>::Archived: CheckBytes<__C>,
<MaintenanceStationId as Archive>::Archived: CheckBytes<__C>,
<bool as Archive>::Archived: CheckBytes<__C>,
impl Portable for ArchivedSimEventwhere
OrderId: Archive,
TaskId: Archive,
RobotId: Archive,
NodeId: Archive,
EdgeId: Archive,
StationId: Archive,
SkuId: Archive,
BinId: Archive,
i32: Archive,
ShipmentId: Archive,
u32: Archive,
ChargingStationId: Archive,
f64: Archive,
Vec<RobotId>: Archive,
Option<TaskId>: Archive,
MaintenanceStationId: Archive,
bool: Archive,
<OrderId as Archive>::Archived: Portable,
<TaskId as Archive>::Archived: Portable,
<RobotId as Archive>::Archived: Portable,
<NodeId as Archive>::Archived: Portable,
<EdgeId as Archive>::Archived: Portable,
<StationId as Archive>::Archived: Portable,
<SkuId as Archive>::Archived: Portable,
<BinId as Archive>::Archived: Portable,
<i32 as Archive>::Archived: Portable,
<ShipmentId as Archive>::Archived: Portable,
<u32 as Archive>::Archived: Portable,
<ChargingStationId as Archive>::Archived: Portable,
<f64 as Archive>::Archived: Portable,
<Vec<RobotId> as Archive>::Archived: Portable,
<Option<TaskId> as Archive>::Archived: Portable,
<MaintenanceStationId as Archive>::Archived: Portable,
<bool as Archive>::Archived: Portable,
Auto Trait Implementations§
impl Freeze for ArchivedSimEvent
impl RefUnwindSafe for ArchivedSimEvent
impl Send for ArchivedSimEvent
impl Sync for ArchivedSimEvent
impl !Unpin for ArchivedSimEvent
impl UnwindSafe for ArchivedSimEvent
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Source§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
Source§unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
Source§fn resolve_niched(out: Place<NichedOption<T, N1>>)
fn resolve_niched(out: Place<NichedOption<T, N1>>)
out indicating that a T is niched.