#[non_exhaustive]pub enum PlaceError {
Io(Error),
Tool(Failure),
NotUtf8(PathBuf),
}Expand description
Why place couldn’t finish: not a folder that isn’t VMware’s OVF Tool (that is an
Outcome::Refused), but a copy that couldn’t be made or swapped in, or a check that couldn’t
run.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Io(Error)
Copying, or swapping the copy in, failed (a full disk, a permission).
Tool(Failure)
A signature check or the quarantine’s removal couldn’t be run, or xattr failed.
NotUtf8(PathBuf)
A path isn’t UTF-8, so it can’t be handed to a tool as an argument.
Trait Implementations§
Source§impl Debug for PlaceError
impl Debug for PlaceError
Source§impl Display for PlaceError
impl Display for PlaceError
Source§impl Error for PlaceError
impl Error for PlaceError
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 PlaceError
impl From<Error> for PlaceError
Source§fn from(e: Error) -> PlaceError
fn from(e: Error) -> PlaceError
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for PlaceError
impl !UnwindSafe for PlaceError
impl Forget for PlaceError
impl Freeze for PlaceError
impl Move for PlaceError
impl Send for PlaceError
impl Sync for PlaceError
impl Unpin for PlaceError
impl UnsafeUnpin for PlaceError
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