Enum identity_common::StagedFileError
source · pub enum StagedFileError {
InvalidArguments(String),
OpenError(OpenError),
FidlError(Error),
WriteError(WriteError),
RenameError(RenameError),
FlushError(Status),
CloseError(Status),
ReaddirError(EnumerateError),
UnlinkError(Status),
}
Expand description
Describes an error with StagedFile usage.
Variants§
InvalidArguments(String)
Invalid arguments.
OpenError(OpenError)
Failed to open a file or directory.
FidlError(Error)
Failed during a FIDL call.
WriteError(WriteError)
Failed to write to the staged file.
RenameError(RenameError)
Failed to rename the staged file.
FlushError(Status)
Failed to flush data.
CloseError(Status)
Failed to close the staged file.
ReaddirError(EnumerateError)
Failed to readdir.
UnlinkError(Status)
Failed to unlink file.
Trait Implementations§
source§impl Debug for StagedFileError
impl Debug for StagedFileError
source§impl Display for StagedFileError
impl Display for StagedFileError
source§impl Error for StagedFileError
impl Error for StagedFileError
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()