pub enum AgentMessage {
State(StateUpdate),
Prompt(AgentPrompt),
Directive(EngineDirective),
Error(ProtocolError),
}Variants§
Trait Implementations§
Source§impl Clone for AgentMessage
impl Clone for AgentMessage
Source§fn clone(&self) -> AgentMessage
fn clone(&self) -> AgentMessage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Forget for AgentMessage
impl Freeze for AgentMessagewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<CombatAssignmentDto>: Freeze,
PhantomData<PlayerDto>: Freeze,
PhantomData<ZoneDto>: Freeze,
PhantomData<StackObjectDto>: Freeze,
PhantomData<String>: Freeze,
PhantomData<CheckpointDto>: Freeze,
*const ArcInner<CardPrintingSelection> is !null: Freeze,
PhantomData<ArcInner<CardPrintingSelection>>: Freeze,
PhantomData<ClassLevelDto>: Freeze,
PhantomData<SagaChapterDto>: Freeze,
PhantomData<RoomDoor>: Freeze,
PhantomData<CardChoiceDto>: Freeze,
*const LeafNode<String, String> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, String)>>: Freeze,
*const LeafNode<String, u32> is !null: Freeze,
PhantomData<Box<(String, u32)>>: Freeze,
PhantomData<CardDto>: Freeze,
PhantomData<AvailableAction>: Freeze,
PhantomData<AttackerOptionDto>: Freeze,
PhantomData<AttackTargetDto>: Freeze,
PhantomData<BlockableAttackerDto>: Freeze,
PhantomData<TargetRef>: Freeze,
PhantomData<SelectionOption>: Freeze,
PhantomData<ScryDestination>: Freeze,
PhantomData<PaymentAction>: Freeze,
PhantomData<ReorderItem>: Freeze,
PhantomData<DiceRollEntry>: Freeze,
impl Move for AgentMessage
impl RefUnwindSafe for AgentMessage
impl Send for AgentMessagewhere
RawVecInner: Send,
RawTable<(String, u32)>: Send,
NodeRef<Owned, PlayerCounterKind, u32, LeafOrInternal>: Send,
BoxRaw<(PlayerCounterKind, u32)>: Send,
NodeRef<Owned, ManaColor, u32, LeafOrInternal>: Send,
BoxRaw<(ManaColor, u32)>: Send,
RawTable<(String, i32)>: Send,
Arc<CardPrintingSelection>: Send,
NodeRef<Owned, String, String, LeafOrInternal>: Send,
BoxRaw<(String, String)>: Send,
NodeRef<Owned, String, u32, LeafOrInternal>: Send,
BoxRaw<(String, u32)>: Send,
impl Sync for AgentMessagewhere
RawVecInner: Sync,
RawTable<(String, u32)>: Sync,
NodeRef<Owned, PlayerCounterKind, u32, LeafOrInternal>: Sync,
BoxRaw<(PlayerCounterKind, u32)>: Sync,
NodeRef<Owned, ManaColor, u32, LeafOrInternal>: Sync,
BoxRaw<(ManaColor, u32)>: Sync,
RawTable<(String, i32)>: Sync,
Arc<CardPrintingSelection>: Sync,
NodeRef<Owned, String, String, LeafOrInternal>: Sync,
BoxRaw<(String, String)>: Sync,
NodeRef<Owned, String, u32, LeafOrInternal>: Sync,
BoxRaw<(String, u32)>: Sync,
impl Unpin for AgentMessagewhere
*const u8 is !null: Unpin,
*const LeafNode<PlayerCounterKind, u32> is !null: Unpin,
Box<(PlayerCounterKind, u32)>: Unpin,
*const LeafNode<ManaColor, u32> is !null: Unpin,
Box<(ManaColor, u32)>: Unpin,
Arc<CardPrintingSelection>: Unpin,
*const LeafNode<String, String> is !null: Unpin,
Box<(String, String)>: Unpin,
*const LeafNode<String, u32> is !null: Unpin,
Box<(String, u32)>: Unpin,
impl UnsafeUnpin for AgentMessagewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<CombatAssignmentDto>: UnsafeUnpin,
PhantomData<PlayerDto>: UnsafeUnpin,
PhantomData<ZoneDto>: UnsafeUnpin,
PhantomData<StackObjectDto>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<CheckpointDto>: UnsafeUnpin,
*const ArcInner<CardPrintingSelection> is !null: UnsafeUnpin,
PhantomData<ArcInner<CardPrintingSelection>>: UnsafeUnpin,
PhantomData<ClassLevelDto>: UnsafeUnpin,
PhantomData<SagaChapterDto>: UnsafeUnpin,
PhantomData<RoomDoor>: UnsafeUnpin,
PhantomData<CardChoiceDto>: UnsafeUnpin,
*const LeafNode<String, String> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, String)>>: UnsafeUnpin,
*const LeafNode<String, u32> is !null: UnsafeUnpin,
PhantomData<Box<(String, u32)>>: UnsafeUnpin,
PhantomData<CardDto>: UnsafeUnpin,
PhantomData<AvailableAction>: UnsafeUnpin,
PhantomData<AttackerOptionDto>: UnsafeUnpin,
PhantomData<AttackTargetDto>: UnsafeUnpin,
PhantomData<BlockableAttackerDto>: UnsafeUnpin,
PhantomData<TargetRef>: UnsafeUnpin,
PhantomData<SelectionOption>: UnsafeUnpin,
PhantomData<ScryDestination>: UnsafeUnpin,
PhantomData<PaymentAction>: UnsafeUnpin,
PhantomData<ReorderItem>: UnsafeUnpin,
PhantomData<DiceRollEntry>: UnsafeUnpin,
impl UnwindSafe for AgentMessagewhere
RawVecInner: UnwindSafe,
HashMap<String, u32>: UnwindSafe,
BTreeMap<PlayerCounterKind, u32>: UnwindSafe,
BTreeMap<ManaColor, u32>: UnwindSafe,
HashMap<String, i32>: UnwindSafe,
Arc<CardPrintingSelection>: UnwindSafe,
BTreeMap<String, String>: UnwindSafe,
BTreeMap<String, u32>: UnwindSafe,
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
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>
Gets the layout of the type.