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),
UnknownExtension {
message: String,
},
}
Variants§
CorrectFileExists
FileIOError
ProgressBarPrintFail
ConnectionFail
RemoteFileNotFound
ChunkDownloadFail
ZipThreadStartError
ZipFileWriteError
IntConversion(TryFromIntError)
UnknownExtension
Trait Implementations§
source§impl Error for PostError
impl Error for PostError
source§fn 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 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<TryFromIntError> for PostError
impl From<TryFromIntError> for PostError
source§fn 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§
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