pub enum DeployError {
NeedsSetup,
RunnerNotDetected,
Other(Error),
}Expand description
Errors surfaced by the deploy engine.
These are transport- and UI-neutral: a front-end decides how to render them (a red spinner line in the CLI, a failed CI step, a git sideband error).
Variants§
NeedsSetup
No .smb/config.toml in the working directory. The front-end owns the
interactive setup flow, so the engine reports this rather than prompting.
RunnerNotDetected
Couldn’t determine the runtime from the working directory.
Other(Error)
Anything not yet modelled as a specific variant.
Trait Implementations§
Source§impl Debug for DeployError
impl Debug for DeployError
Source§impl Display for DeployError
impl Display for DeployError
Source§impl Error for DeployError
impl Error for DeployError
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()
Auto Trait Implementations§
impl Freeze for DeployError
impl RefUnwindSafe for DeployError
impl Send for DeployError
impl Sync for DeployError
impl Unpin for DeployError
impl UnsafeUnpin for DeployError
impl UnwindSafe for DeployError
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