Enum ibdl_common::post::error::PostError
source · pub enum PostError {
CorrectFileExists,
FileIOError {
source: Error,
},
ProgressBarPrintFail {
message: String,
},
ConnectionFail {
source: Error,
},
RemoteFileNotFound,
ChunkDownloadFail {
message: String,
},
ZipThreadStartError {
source: JoinError,
},
ZipFileWriteError {
message: String,
},
IntConversion(TryFromIntError),
}Variants
CorrectFileExists
FileIOError
Fields
source: ErrorProgressBarPrintFail
Fields
message: StringConnectionFail
Fields
source: ErrorRemoteFileNotFound
ChunkDownloadFail
Fields
message: StringZipThreadStartError
Fields
source: JoinErrorZipFileWriteError
Fields
message: StringIntConversion(TryFromIntError)
Trait Implementations
sourceimpl Error for PostError
impl Error for PostError
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()
sourceimpl From<TryFromIntError> for PostError
impl From<TryFromIntError> for PostError
sourcefn from(source: TryFromIntError) -> Self
fn from(source: TryFromIntError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for PostError
impl Send for PostError
impl Sync for PostError
impl Unpin for PostError
impl !UnwindSafe for PostError
Blanket Implementations
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