pub enum EnableError {
NoFrameworks {
supported: Vec<String>,
},
UnknownFramework(String),
Config(String),
Init(InitError),
AllFrameworksFailed(Vec<FrameworkFailure>),
}Expand description
Error during enable.
Variants§
NoFrameworks
No frameworks detected or specified.
UnknownFramework(String)
Unknown framework name.
Config(String)
Configuration error.
Init(InitError)
Initialization error from the core library.
AllFrameworksFailed(Vec<FrameworkFailure>)
All frameworks failed to enable.
Trait Implementations§
Source§impl Debug for EnableError
impl Debug for EnableError
Source§impl Display for EnableError
impl Display for EnableError
Source§impl Error for EnableError
impl Error for EnableError
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<FrameworkResolutionError> for EnableError
impl From<FrameworkResolutionError> for EnableError
Source§fn from(e: FrameworkResolutionError) -> Self
fn from(e: FrameworkResolutionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EnableError
impl !RefUnwindSafe for EnableError
impl Send for EnableError
impl Sync for EnableError
impl Unpin for EnableError
impl !UnwindSafe for EnableError
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