pub enum LifecycleHook {
Unspecified,
OnSessionStart,
OnSessionEnd,
PreTurn,
PostTurn,
PreTool,
PostTool,
OnToolError,
Unknown(String),
}Expand description
antigravity.localharness.LifecycleHook
Variants§
Unspecified
OnSessionStart
OnSessionEnd
PreTurn
PostTurn
PreTool
PostTool
OnToolError
Unknown(String)
A value this crate does not know about yet.
The harness is versioned independently of this crate, so an unrecognised enum value is treated as forward compatibility rather than as a decode error.
Implementations§
Trait Implementations§
Source§impl Clone for LifecycleHook
impl Clone for LifecycleHook
Source§fn clone(&self) -> LifecycleHook
fn clone(&self) -> LifecycleHook
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 LifecycleHook
impl Debug for LifecycleHook
Source§impl Default for LifecycleHook
impl Default for LifecycleHook
Source§fn default() -> LifecycleHook
fn default() -> LifecycleHook
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LifecycleHook
impl<'de> Deserialize<'de> for LifecycleHook
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for LifecycleHook
impl Display for LifecycleHook
impl Eq for LifecycleHook
Source§impl Hash for LifecycleHook
impl Hash for LifecycleHook
Source§impl PartialEq for LifecycleHook
impl PartialEq for LifecycleHook
Source§impl Serialize for LifecycleHook
impl Serialize for LifecycleHook
impl StructuralPartialEq for LifecycleHook
Auto Trait Implementations§
impl Freeze for LifecycleHook
impl RefUnwindSafe for LifecycleHook
impl Send for LifecycleHook
impl Sync for LifecycleHook
impl Unpin for LifecycleHook
impl UnsafeUnpin for LifecycleHook
impl UnwindSafe for LifecycleHook
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