#[non_exhaustive]pub enum Vcs {
Git,
Sapling,
Unknown(String),
}Expand description
Version-control system of a branch observation. Open.
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.
Git
Git.
Sapling
Sapling.
Unknown(String)
A value from a newer host, kept verbatim so an older client decodes the rest of the message. Never construct it with a known word.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Vcs
impl<'de> Deserialize<'de> for Vcs
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Vcs
impl StructuralPartialEq for Vcs
Auto Trait Implementations§
impl Forget for Vcs
impl Freeze for Vcs
impl Move for Vcs
impl RefUnwindSafe for Vcs
impl Send for Vcs
impl Sync for Vcs
impl Unpin for Vcs
impl UnsafeUnpin for Vcs
impl UnwindSafe for Vcs
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