Enum sugar_cli::upload::errors::UploadError
source · pub enum UploadError {
InvalidAssetsDirectory(String),
GetExtensionError,
NoExtension,
InvalidNumberOfFiles(usize),
Incomplete(String),
SendDataFailed(String),
MismatchValue(String, String, String, String),
AnimationFileError(String),
}Variants
InvalidAssetsDirectory(String)
GetExtensionError
NoExtension
InvalidNumberOfFiles(usize)
Incomplete(String)
SendDataFailed(String)
MismatchValue(String, String, String, String)
AnimationFileError(String)
Trait Implementations
sourceimpl Debug for UploadError
impl Debug for UploadError
sourceimpl Display for UploadError
impl Display for UploadError
sourceimpl Error for UploadError
impl Error for UploadError
1.30.0 · sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations
impl RefUnwindSafe for UploadError
impl Send for UploadError
impl Sync for UploadError
impl Unpin for UploadError
impl UnwindSafe for UploadError
Blanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for T
default fn example() -> T
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more