pub enum SkillCassetteMode {
Disabled,
RecordReplay,
ReplayOnly,
RecordOnly,
}Expand description
Cassette (record/replay) behavior for a skill’s calls.
Cassettes capture deterministic recordings of skill calls for replay in tests and offline runs.
Variants§
Disabled
No recording or replay.
RecordReplay
Replay a recorded result on a hit, otherwise call and record it.
ReplayOnly
Replay only; a missing recording is an error.
RecordOnly
Record live calls without replaying existing recordings.
Implementations§
Trait Implementations§
Source§impl Clone for SkillCassetteMode
impl Clone for SkillCassetteMode
Source§fn clone(&self) -> SkillCassetteMode
fn clone(&self) -> SkillCassetteMode
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 SkillCassetteMode
impl Debug for SkillCassetteMode
impl Eq for SkillCassetteMode
Source§impl PartialEq for SkillCassetteMode
impl PartialEq for SkillCassetteMode
Source§fn eq(&self, other: &SkillCassetteMode) -> bool
fn eq(&self, other: &SkillCassetteMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SkillCassetteMode
Auto Trait Implementations§
impl Freeze for SkillCassetteMode
impl RefUnwindSafe for SkillCassetteMode
impl Send for SkillCassetteMode
impl Sync for SkillCassetteMode
impl Unpin for SkillCassetteMode
impl UnsafeUnpin for SkillCassetteMode
impl UnwindSafe for SkillCassetteMode
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