#[non_exhaustive]pub enum CustomTripleCreateError {
Deserialize {
triple: String,
error: Arc<Error>,
},
Unavailable,
}
Expand description
An error returned while creating a custom platform.
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.
Deserialize
Available on crate feature
custom
only.An error occurred while deserializing serde data.
Fields
A custom platform was asked to be created, but the custom
feature is currently disabled.
Currently, this can only happen if a custom platform is deserialized from a
PlatformSummary
,
Trait Implementations§
Source§impl Clone for CustomTripleCreateError
impl Clone for CustomTripleCreateError
Source§fn clone(&self) -> CustomTripleCreateError
fn clone(&self) -> CustomTripleCreateError
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 CustomTripleCreateError
impl Debug for CustomTripleCreateError
Source§impl Display for CustomTripleCreateError
impl Display for CustomTripleCreateError
Source§impl Error for CustomTripleCreateError
impl Error for CustomTripleCreateError
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()
Auto Trait Implementations§
impl Freeze for CustomTripleCreateError
impl !RefUnwindSafe for CustomTripleCreateError
impl Send for CustomTripleCreateError
impl Sync for CustomTripleCreateError
impl Unpin for CustomTripleCreateError
impl !UnwindSafe for CustomTripleCreateError
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