pub enum AgentPoolStoreRecordPayload {
PoolOpened {
config: AgentPoolStoreConfig,
},
PoolCreated,
MemberJoined {
member: AgentPoolMember,
},
MemberLeft {
member: AgentPoolMember,
},
RunMessage {
stored: AgentPoolStoredMessage,
},
Wake {
stored: AgentPoolStoredWake,
},
}Expand description
Finite pool-store record variants.
Variants§
PoolOpened
Pool metadata was opened or initialized.
Fields
§
config: AgentPoolStoreConfigConfiguration persisted for this pool.
PoolCreated
Pool lifecycle was marked created by a journal-backed operation.
MemberJoined
A run joined the pool.
Fields
§
member: AgentPoolMemberJoined member.
MemberLeft
A run left the pool.
Fields
§
member: AgentPoolMemberLeft member.
RunMessage
A run-message status was persisted.
Fields
§
stored: AgentPoolStoredMessageStored message transition.
Wake
A wake status was persisted.
Fields
§
stored: AgentPoolStoredWakeStored wake transition.
Trait Implementations§
Source§impl Clone for AgentPoolStoreRecordPayload
impl Clone for AgentPoolStoreRecordPayload
Source§fn clone(&self) -> AgentPoolStoreRecordPayload
fn clone(&self) -> AgentPoolStoreRecordPayload
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 moreSource§impl Debug for AgentPoolStoreRecordPayload
impl Debug for AgentPoolStoreRecordPayload
Source§impl<'de> Deserialize<'de> for AgentPoolStoreRecordPayload
impl<'de> Deserialize<'de> for AgentPoolStoreRecordPayload
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
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 PartialEq for AgentPoolStoreRecordPayload
impl PartialEq for AgentPoolStoreRecordPayload
Source§fn eq(&self, other: &AgentPoolStoreRecordPayload) -> bool
fn eq(&self, other: &AgentPoolStoreRecordPayload) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for AgentPoolStoreRecordPayload
impl StructuralPartialEq for AgentPoolStoreRecordPayload
Auto Trait Implementations§
impl Freeze for AgentPoolStoreRecordPayload
impl RefUnwindSafe for AgentPoolStoreRecordPayload
impl Send for AgentPoolStoreRecordPayload
impl Sync for AgentPoolStoreRecordPayload
impl Unpin for AgentPoolStoreRecordPayload
impl UnsafeUnpin for AgentPoolStoreRecordPayload
impl UnwindSafe for AgentPoolStoreRecordPayload
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more