#[non_exhaustive]pub enum CartonError {
UnsupportedFileSystem(&'static str),
InvalidDeviceFormat(String),
UnknownDataType(String),
UnexpectedInternalError(&'static str),
FetchError(Error),
IOError(Error),
ConfigParsingError(Error),
ErrorFromRunner(String),
SemverParseError(Error),
Other(&'static str),
}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.
UnsupportedFileSystem(&'static str)
InvalidDeviceFormat(String)
UnknownDataType(String)
UnexpectedInternalError(&'static str)
FetchError(Error)
IOError(Error)
ConfigParsingError(Error)
ErrorFromRunner(String)
SemverParseError(Error)
Other(&'static str)
Trait Implementations§
Source§impl Debug for CartonError
impl Debug for CartonError
Source§impl Display for CartonError
impl Display for CartonError
Source§impl Error for CartonError
impl Error for CartonError
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<Error> for CartonError
impl From<Error> for CartonError
Source§impl From<Error> for CartonError
impl From<Error> for CartonError
Source§impl From<Error> for CartonError
impl From<Error> for CartonError
Auto Trait Implementations§
impl !RefUnwindSafe for CartonError
impl !UnwindSafe for CartonError
impl Freeze for CartonError
impl Send for CartonError
impl Sync for CartonError
impl Unpin for CartonError
impl UnsafeUnpin for CartonError
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