pub enum ConfigProblem {
MissingSourceRepoConfig,
SourceMissing(PathBuf),
MissingRemoteNameConfig,
LocalRemoteMismatch {
configured: PathBuf,
actual: PathBuf,
},
NoUpstreamTracking {
branch: BranchName,
},
NotInRegistry,
PushWouldFail {
branch: BranchName,
},
}Variants§
MissingSourceRepoConfig
SourceMissing(PathBuf)
MissingRemoteNameConfig
LocalRemoteMismatch
NoUpstreamTracking
Fields
§
branch: BranchNameNotInRegistry
PushWouldFail
Fields
§
branch: BranchNameTrait Implementations§
Source§impl Clone for ConfigProblem
impl Clone for ConfigProblem
Source§fn clone(&self) -> ConfigProblem
fn clone(&self) -> ConfigProblem
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 ConfigProblem
impl Debug for ConfigProblem
impl Eq for ConfigProblem
Source§impl PartialEq for ConfigProblem
impl PartialEq for ConfigProblem
Source§fn eq(&self, other: &ConfigProblem) -> bool
fn eq(&self, other: &ConfigProblem) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConfigProblem
Auto Trait Implementations§
impl Freeze for ConfigProblem
impl RefUnwindSafe for ConfigProblem
impl Send for ConfigProblem
impl Sync for ConfigProblem
impl Unpin for ConfigProblem
impl UnsafeUnpin for ConfigProblem
impl UnwindSafe for ConfigProblem
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