Skip to main content

ArchivedSimEvent

Enum ArchivedSimEvent 

Source
#[repr(u8)]
pub enum ArchivedSimEvent{
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>::Archived

The archived counterpart of SimEvent::OrderArrival::order_id

§

TaskAssignment

The archived counterpart of SimEvent::TaskAssignment

Fields

§task_id: <TaskId as Archive>::Archived

The archived counterpart of SimEvent::TaskAssignment::task_id

§robot_id: <RobotId as Archive>::Archived

The archived counterpart of SimEvent::TaskAssignment::robot_id

§

RobotDepartNode

The archived counterpart of SimEvent::RobotDepartNode

Fields

§robot_id: <RobotId as Archive>::Archived

The archived counterpart of SimEvent::RobotDepartNode::robot_id

§from_node: <NodeId as Archive>::Archived

The archived counterpart of SimEvent::RobotDepartNode::from_node

§to_node: <NodeId as Archive>::Archived

The archived counterpart of SimEvent::RobotDepartNode::to_node

§edge_id: <EdgeId as Archive>::Archived

The archived counterpart of SimEvent::RobotDepartNode::edge_id

§

RobotArriveNode

The archived counterpart of SimEvent::RobotArriveNode

Fields

§robot_id: <RobotId as Archive>::Archived

The archived counterpart of SimEvent::RobotArriveNode::robot_id

§node_id: <NodeId as Archive>::Archived

The archived counterpart of SimEvent::RobotArriveNode::node_id

§from_node: <NodeId as Archive>::Archived

The archived counterpart of SimEvent::RobotArriveNode::from_node

§

StationServiceStart

The archived counterpart of SimEvent::StationServiceStart

Fields

§robot_id: <RobotId as Archive>::Archived

The archived counterpart of SimEvent::StationServiceStart::robot_id

§station_id: <StationId as Archive>::Archived

The archived counterpart of SimEvent::StationServiceStart::station_id

§task_id: <TaskId as Archive>::Archived

The archived counterpart of SimEvent::StationServiceStart::task_id

§

StationServiceEnd

The archived counterpart of SimEvent::StationServiceEnd

Fields

§robot_id: <RobotId as Archive>::Archived

The archived counterpart of SimEvent::StationServiceEnd::robot_id

§station_id: <StationId as Archive>::Archived

The archived counterpart of SimEvent::StationServiceEnd::station_id

§task_id: <TaskId as Archive>::Archived

The archived counterpart of SimEvent::StationServiceEnd::task_id

§

InventoryUpdate

The archived counterpart of SimEvent::InventoryUpdate

Fields

§sku_id: <SkuId as Archive>::Archived

The archived counterpart of SimEvent::InventoryUpdate::sku_id

§bin_id: <BinId as Archive>::Archived

The archived counterpart of SimEvent::InventoryUpdate::bin_id

§delta: <i32 as Archive>::Archived

The archived counterpart of SimEvent::InventoryUpdate::delta

§task_id: <TaskId as Archive>::Archived

The archived counterpart of SimEvent::InventoryUpdate::task_id

§

RobotWaitStart

The archived counterpart of SimEvent::RobotWaitStart

Fields

§robot_id: <RobotId as Archive>::Archived

The archived counterpart of SimEvent::RobotWaitStart::robot_id

§at_node: <NodeId as Archive>::Archived

The archived counterpart of SimEvent::RobotWaitStart::at_node

§waiting_for_edge: <EdgeId as Archive>::Archived

The archived counterpart of SimEvent::RobotWaitStart::waiting_for_edge

§

RobotWaitEnd

The archived counterpart of SimEvent::RobotWaitEnd

Fields

§robot_id: <RobotId as Archive>::Archived

The archived counterpart of SimEvent::RobotWaitEnd::robot_id

§at_node: <NodeId as Archive>::Archived

The archived counterpart of SimEvent::RobotWaitEnd::at_node

§

RobotPickup

The archived counterpart of SimEvent::RobotPickup

Fields

§robot_id: <RobotId as Archive>::Archived

The archived counterpart of SimEvent::RobotPickup::robot_id

§task_id: <TaskId as Archive>::Archived

The archived counterpart of SimEvent::RobotPickup::task_id

§node_id: <NodeId as Archive>::Archived

The 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>::Archived

The archived counterpart of SimEvent::InboundArrival::shipment_id

§station_id: <StationId as Archive>::Archived

The archived counterpart of SimEvent::InboundArrival::station_id

§

PutawayTaskCreated

The archived counterpart of SimEvent::PutawayTaskCreated

Fields

§task_id: <TaskId as Archive>::Archived

The archived counterpart of SimEvent::PutawayTaskCreated::task_id

§shipment_id: <ShipmentId as Archive>::Archived

The archived counterpart of SimEvent::PutawayTaskCreated::shipment_id

§

OutboundReady

The archived counterpart of SimEvent::OutboundReady

Fields

§order_id: <OrderId as Archive>::Archived

The archived counterpart of SimEvent::OutboundReady::order_id

§

ShipmentDeparture

The archived counterpart of SimEvent::ShipmentDeparture

Fields

§shipment_id: <ShipmentId as Archive>::Archived

The archived counterpart of SimEvent::ShipmentDeparture::shipment_id

§station_id: <StationId as Archive>::Archived

The archived counterpart of SimEvent::ShipmentDeparture::station_id

§

ReplenishmentTrigger

The archived counterpart of SimEvent::ReplenishmentTrigger

Fields

§sku_id: <SkuId as Archive>::Archived

The archived counterpart of SimEvent::ReplenishmentTrigger::sku_id

§bin_id: <BinId as Archive>::Archived

The archived counterpart of SimEvent::ReplenishmentTrigger::bin_id

§current_qty: <u32 as Archive>::Archived

The archived counterpart of SimEvent::ReplenishmentTrigger::current_qty

§threshold: <u32 as Archive>::Archived

The archived counterpart of SimEvent::ReplenishmentTrigger::threshold

§

RobotChargingStart

The archived counterpart of SimEvent::RobotChargingStart

Fields

§robot_id: <RobotId as Archive>::Archived

The archived counterpart of SimEvent::RobotChargingStart::robot_id

§

RobotChargingEnd

The archived counterpart of SimEvent::RobotChargingEnd

Fields

§robot_id: <RobotId as Archive>::Archived

The archived counterpart of SimEvent::RobotChargingEnd::robot_id

§station_id: <ChargingStationId as Archive>::Archived

The archived counterpart of SimEvent::RobotChargingEnd::station_id

§energy_charged_wh: <f64 as Archive>::Archived
§

RobotLowBattery

The archived counterpart of SimEvent::RobotLowBattery

Fields

§robot_id: <RobotId as Archive>::Archived

The archived counterpart of SimEvent::RobotLowBattery::robot_id

§soc: <f64 as Archive>::Archived

The archived counterpart of SimEvent::RobotLowBattery::soc

§

MetricsSampleTick

The archived counterpart of SimEvent::MetricsSampleTick

§

DeadlockDetected

The archived counterpart of SimEvent::DeadlockDetected

Fields

§robots: <Vec<RobotId> as Archive>::Archived

The archived counterpart of SimEvent::DeadlockDetected::robots

§

DeadlockResolved

The archived counterpart of SimEvent::DeadlockResolved

Fields

§robots: <Vec<RobotId> as Archive>::Archived

The archived counterpart of SimEvent::DeadlockResolved::robots

§resolver_robot: <RobotId as Archive>::Archived

The archived counterpart of SimEvent::DeadlockResolved::resolver_robot

§

RobotFailure

The archived counterpart of SimEvent::RobotFailure

Fields

§robot_id: <RobotId as Archive>::Archived

The archived counterpart of SimEvent::RobotFailure::robot_id

§interrupted_task: <Option<TaskId> as Archive>::Archived

The archived counterpart of SimEvent::RobotFailure::interrupted_task

§

RobotMaintenanceDue

The archived counterpart of SimEvent::RobotMaintenanceDue

Fields

§robot_id: <RobotId as Archive>::Archived

The archived counterpart of SimEvent::RobotMaintenanceDue::robot_id

§operating_hours: <f64 as Archive>::Archived
§

MaintenanceStart

The archived counterpart of SimEvent::MaintenanceStart

Fields

§robot_id: <RobotId as Archive>::Archived

The archived counterpart of SimEvent::MaintenanceStart::robot_id

§is_repair: <bool as Archive>::Archived

The archived counterpart of SimEvent::MaintenanceStart::is_repair

§

MaintenanceEnd

The archived counterpart of SimEvent::MaintenanceEnd

Fields

§robot_id: <RobotId as Archive>::Archived

The archived counterpart of SimEvent::MaintenanceEnd::robot_id

§station_id: <MaintenanceStationId as Archive>::Archived

The archived counterpart of SimEvent::MaintenanceEnd::station_id

§is_repair: <bool as Archive>::Archived

The archived counterpart of SimEvent::MaintenanceEnd::is_repair

§duration_s: <f64 as Archive>::Archived

The archived counterpart of SimEvent::MaintenanceEnd::duration_s

Trait Implementations§

Source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedSimEvent

Source§

unsafe fn check_bytes( value: *const Self, context: &mut __C, ) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the given context. Read more
Source§

impl Portable for ArchivedSimEvent

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> ArchivePointee for T

Source§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
Source§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
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.

Source§

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

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> LayoutRaw for T

Source§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
Source§

impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
where T: SharedNiching<N1, N2>, N1: Niching<T>, N2: Niching<T>,

Source§

unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool

Returns whether the given value has been niched. Read more
Source§

fn resolve_niched(out: Place<NichedOption<T, N1>>)

Writes data to out indicating that a T is niched.
Source§

impl<T> Pointee for T

Source§

type Metadata = ()

The metadata type for pointers and references to this type.
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<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V