#[repr(u8)]pub enum AgentMode {
Durable = 0,
Ephemeral = 1,
}Expand description
Whether an agent is durable (persistent oplog) or ephemeral. This mirrors the agent-mode enum in golem:agent/common@1.5.0; it is duplicated here to avoid a circular WIT package dependency between golem:api and golem:agent.
Variants§
Trait Implementations§
Source§impl Ord for AgentMode
impl Ord for AgentMode
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for AgentMode
impl PartialOrd for AgentMode
impl Copy for AgentMode
impl Eq for AgentMode
impl StructuralPartialEq for AgentMode
Auto Trait Implementations§
impl Freeze for AgentMode
impl RefUnwindSafe for AgentMode
impl Send for AgentMode
impl Sync for AgentMode
impl Unpin for AgentMode
impl UnsafeUnpin for AgentMode
impl UnwindSafe for AgentMode
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