pub enum GitPublisherConfigError {
InvalidGitExecutable,
InvalidDirectory,
InvalidRemoteName,
InvalidTimeout,
SecureIsolationFailed,
RemoteDiscoveryFailed,
CallerRepositoryReadFailed,
UnsafeCallerRepositoryConfig,
UnsupportedSecurePlatform,
}Expand description
Invalid local Git publisher configuration.
Variants§
InvalidGitExecutable
Git executable was not a canonical executable file named git.
InvalidDirectory
Repository or isolation directory was not canonical and usable.
InvalidRemoteName
Remote name contained option, ref, or path syntax.
InvalidTimeout
Timeout was zero or exceeded ten minutes.
SecureIsolationFailed
Fixed tool policy or private bare repository initialization failed.
RemoteDiscoveryFailed
One-shot local remote discovery failed closed.
CallerRepositoryReadFailed
Caller repository metadata could not be read through the sealed policy.
UnsafeCallerRepositoryConfig
Local Git policy could execute code or redirect the selected worktree.
UnsupportedSecurePlatform
The platform has no implemented secure private Git runner.
Trait Implementations§
Source§impl Clone for GitPublisherConfigError
impl Clone for GitPublisherConfigError
impl Copy for GitPublisherConfigError
Source§impl Debug for GitPublisherConfigError
impl Debug for GitPublisherConfigError
Source§impl Display for GitPublisherConfigError
impl Display for GitPublisherConfigError
impl Eq for GitPublisherConfigError
Source§impl Error for GitPublisherConfigError
impl Error for GitPublisherConfigError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for GitPublisherConfigError
impl PartialEq for GitPublisherConfigError
impl StructuralPartialEq for GitPublisherConfigError
Auto Trait Implementations§
impl Freeze for GitPublisherConfigError
impl RefUnwindSafe for GitPublisherConfigError
impl Send for GitPublisherConfigError
impl Sync for GitPublisherConfigError
impl Unpin for GitPublisherConfigError
impl UnsafeUnpin for GitPublisherConfigError
impl UnwindSafe for GitPublisherConfigError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.