pub enum InstalledDeploymentError {
NoInstalledDeployment {
network: String,
deployment: String,
},
InstallState(String),
ReplicaQuery(String),
IcpFailed {
command: String,
stderr: String,
},
LostLocalDeployment {
deployment: String,
network: String,
root: String,
},
Registry(RegistryParseError),
Io(Error),
}Expand description
InstalledDeploymentError
Variants§
NoInstalledDeployment
InstallState(String)
ReplicaQuery(String)
IcpFailed
LostLocalDeployment
Registry(RegistryParseError)
Io(Error)
Trait Implementations§
Source§impl Debug for InstalledDeploymentError
impl Debug for InstalledDeploymentError
Source§impl Display for InstalledDeploymentError
impl Display for InstalledDeploymentError
Source§impl Error for InstalledDeploymentError
impl Error for InstalledDeploymentError
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 From<Error> for InstalledDeploymentError
impl From<Error> for InstalledDeploymentError
Source§impl From<RegistryParseError> for InstalledDeploymentError
impl From<RegistryParseError> for InstalledDeploymentError
Source§fn from(source: RegistryParseError) -> Self
fn from(source: RegistryParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for InstalledDeploymentError
impl !UnwindSafe for InstalledDeploymentError
impl Freeze for InstalledDeploymentError
impl Send for InstalledDeploymentError
impl Sync for InstalledDeploymentError
impl Unpin for InstalledDeploymentError
impl UnsafeUnpin for InstalledDeploymentError
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