Enum version_history::ApiLevelError
source · 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)>
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
source§fn eq(&self, other: &ApiLevelError) -> bool
fn eq(&self, other: &ApiLevelError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)