pub enum IOSError {
UnsupportedHostOS(&'static str),
CompilationFailure,
IO(Error),
Simctl(Error),
}Expand description
Represents an error that is returned by one of the iOS-specific tasks.
Variants§
UnsupportedHostOS(&'static str)
Returned by tasks that have not yet been implemented for a specific host operating system.
CompilationFailure
Returned by the BuildRuntimeLibrary task when Cargo fails to build the
runtime library (most likely because of an error in user code, e.g.
syntax error).
IO(Error)
Returned by tasks when an io error occurs.
Simctl(Error)
Returned by tasks that interact with simctl, an Apple-provided utility
to programmatically control the iOS Simulator, in the event that it
returns an error.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IOSError
impl !RefUnwindSafe for IOSError
impl Send for IOSError
impl Sync for IOSError
impl Unpin for IOSError
impl !UnwindSafe for IOSError
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