pub enum ApiLevelError {
Unknown {
api_level: ApiLevel,
supported: Vec<ApiLevel>,
},
Unsupported {
version: Version,
supported: Vec<ApiLevel>,
},
}
Variants§
Unknown
The user attempted to build a component targeting an API level that was not recognized.
Unsupported
The user attempted to build a component targeting an API level that was recognized, but is not supported for building.
Trait Implementations§
Source§impl Clone for ApiLevelError
impl Clone for ApiLevelError
Source§fn clone(&self) -> ApiLevelError
fn clone(&self) -> ApiLevelError
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 ApiLevelError
impl Debug for ApiLevelError
Source§impl Display for ApiLevelError
impl Display for ApiLevelError
Source§impl Error for ApiLevelError
impl Error for ApiLevelError
1.30.0 · 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 PartialEq for ApiLevelError
impl PartialEq for ApiLevelError
impl Eq for ApiLevelError
impl StructuralPartialEq for ApiLevelError
Auto Trait Implementations§
impl Freeze for ApiLevelError
impl RefUnwindSafe for ApiLevelError
impl Send for ApiLevelError
impl Sync for ApiLevelError
impl Unpin for ApiLevelError
impl UnwindSafe for ApiLevelError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)