Enum fs_management::CommandError
source · pub enum CommandError {
Fidl(Error),
LaunchProcess(LaunchProcessError),
ProcessTerminatedSignal(Status),
GetProcessReturnCode(Status),
ProcessNonZeroReturnCode(i64),
}
Expand description
The error type used by the format
and fsck
filesystem commands.
Variants§
Fidl(Error)
A FIDL error occurred.
LaunchProcess(LaunchProcessError)
There was a problem launching the filesystem process.
ProcessTerminatedSignal(Status)
An error occurred waiting for the ZX_PROCESS_TERMINATED
signal on the filesystem process.
GetProcessReturnCode(Status)
Failed to get the return code of the terminated filesystem process.
ProcessNonZeroReturnCode(i64)
The filesystem process exited with a non-zero return code.
Trait Implementations§
source§impl Clone for CommandError
impl Clone for CommandError
source§fn clone(&self) -> CommandError
fn clone(&self) -> CommandError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CommandError
impl Debug for CommandError
source§impl Display for CommandError
impl Display for CommandError
source§impl Error for CommandError
impl Error for CommandError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 CommandError
impl From<Error> for CommandError
source§impl From<LaunchProcessError> for CommandError
impl From<LaunchProcessError> for CommandError
source§fn from(source: LaunchProcessError) -> Self
fn from(source: LaunchProcessError) -> Self
Converts to this type from the input type.