pub enum ToolLifecycleState {
Enabled,
Disabled,
Defective,
}Expand description
Runtime lifecycle state for a tool.
Variants§
Enabled
Tool is enabled and can be listed/called.
Disabled
Tool is disabled (hidden and not callable).
Defective
Tool is defective (disabled by circuit breaker).
Trait Implementations§
Source§impl Clone for ToolLifecycleState
impl Clone for ToolLifecycleState
Source§fn clone(&self) -> ToolLifecycleState
fn clone(&self) -> ToolLifecycleState
Returns a duplicate of the value. Read more
1.0.0 · 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 ToolLifecycleState
impl Debug for ToolLifecycleState
Source§impl PartialEq for ToolLifecycleState
impl PartialEq for ToolLifecycleState
impl Copy for ToolLifecycleState
impl Eq for ToolLifecycleState
impl StructuralPartialEq for ToolLifecycleState
Auto Trait Implementations§
impl Freeze for ToolLifecycleState
impl RefUnwindSafe for ToolLifecycleState
impl Send for ToolLifecycleState
impl Sync for ToolLifecycleState
impl Unpin for ToolLifecycleState
impl UnwindSafe for ToolLifecycleState
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