pub enum PartitionSimError {
OpenSshError(Error),
SessionUninitialized,
PeerNotFound(Uuid),
CommandFailed(i32),
IoError(Error),
ConsulError(String),
SshCopyIdFailed,
Other(String),
UuidParseError(Error),
CommandFailedWithOutput {
status_code: i32,
stderr: String,
stdout: String,
},
}
Variants§
OpenSshError(Error)
SessionUninitialized
PeerNotFound(Uuid)
CommandFailed(i32)
IoError(Error)
ConsulError(String)
SshCopyIdFailed
Other(String)
UuidParseError(Error)
CommandFailedWithOutput
Trait Implementations§
Source§impl Debug for PartitionSimError
impl Debug for PartitionSimError
Source§impl Display for PartitionSimError
impl Display for PartitionSimError
Source§impl Error for PartitionSimError
impl Error for PartitionSimError
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 PartitionSimError
impl From<Error> for PartitionSimError
Source§impl From<Error> for PartitionSimError
impl From<Error> for PartitionSimError
Source§impl From<Error> for PartitionSimError
impl From<Error> for PartitionSimError
Source§impl From<Output> for PartitionSimError
impl From<Output> for PartitionSimError
Source§impl IntoResponse for PartitionSimError
impl IntoResponse for PartitionSimError
Source§fn into_response(self) -> Response
fn into_response(self) -> Response
Create a response.
Auto Trait Implementations§
impl Freeze for PartitionSimError
impl !RefUnwindSafe for PartitionSimError
impl Send for PartitionSimError
impl Sync for PartitionSimError
impl Unpin for PartitionSimError
impl !UnwindSafe for PartitionSimError
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