pub enum ServerLaunchError {
Show 14 variants
Preparation {
message: String,
},
FileIo {
operation: &'static str,
path: PathBuf,
source: Error,
},
Process {
program: String,
source: Error,
},
Ssh(SshError),
SshInput {
target: String,
source: Error,
},
Exit {
operation: String,
status: ExitStatus,
diagnostics: String,
},
NonUtf8Identity {
target: String,
source: FromUtf8Error,
},
MissingProcessId {
target: String,
},
MissingStartTime {
target: String,
},
InvalidProcessId {
target: String,
value: String,
source: ParseIntError,
},
InvalidStartTime {
target: String,
value: String,
source: ParseIntError,
},
InvalidIdentity {
target: String,
details: String,
},
NotRegularFile {
path: PathBuf,
},
FileDigestMismatch {
path: PathBuf,
expected: String,
actual: String,
},
}Variants§
Preparation
FileIo
Process
Ssh(SshError)
SshInput
Exit
NonUtf8Identity
MissingProcessId
MissingStartTime
InvalidProcessId
InvalidStartTime
InvalidIdentity
NotRegularFile
FileDigestMismatch
Trait Implementations§
Source§impl Debug for ServerLaunchError
impl Debug for ServerLaunchError
Source§impl Display for ServerLaunchError
impl Display for ServerLaunchError
Source§impl Error for ServerLaunchError
impl Error for ServerLaunchError
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 !RefUnwindSafe for ServerLaunchError
impl !UnwindSafe for ServerLaunchError
impl Freeze for ServerLaunchError
impl Send for ServerLaunchError
impl Sync for ServerLaunchError
impl Unpin for ServerLaunchError
impl UnsafeUnpin for ServerLaunchError
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