#[non_exhaustive]pub enum BgIsolation {
Worktree,
None,
Other(String),
}Expand description
worktree.bgIsolation.
Docs: worktree.bgIsolation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Worktree
Claude Code blocks Edit and Write in the main checkout until the session calls
EnterWorktree.
None
Background jobs edit the working copy directly.
Other(String)
A value this crate doesn’t know, as written.
Implementations§
Trait Implementations§
Source§impl AsRef<str> for BgIsolation
impl AsRef<str> for BgIsolation
Source§impl Clone for BgIsolation
impl Clone for BgIsolation
Source§impl Debug for BgIsolation
impl Debug for BgIsolation
Source§impl<'de> Deserialize<'de> for BgIsolation
impl<'de> Deserialize<'de> for BgIsolation
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 BgIsolation
impl Display for BgIsolation
impl Eq for BgIsolation
Source§impl From<&str> for BgIsolation
impl From<&str> for BgIsolation
Source§impl From<String> for BgIsolation
impl From<String> for BgIsolation
Source§impl Hash for BgIsolation
impl Hash for BgIsolation
Source§impl Ord for BgIsolation
impl Ord for BgIsolation
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for BgIsolation
impl PartialEq for BgIsolation
Source§impl PartialOrd for BgIsolation
impl PartialOrd for BgIsolation
Source§impl Serialize for BgIsolation
impl Serialize for BgIsolation
impl StructuralPartialEq for BgIsolation
Auto Trait Implementations§
impl Forget for BgIsolation
impl Freeze for BgIsolation
impl Move for BgIsolation
impl RefUnwindSafe for BgIsolation
impl Send for BgIsolation
impl Sync for BgIsolation
impl Unpin for BgIsolation
impl UnsafeUnpin for BgIsolation
impl UnwindSafe for BgIsolation
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