pub enum ResumableUploadError {
NoOrInvalidLocationHeader,
ParseSessionUrl(ParseError),
ParseRangesHeader,
ResolveRange,
NoMediaBody,
NoUrl,
SeekPosition(Error),
ParseRange(ParseRangeError),
}Variants§
NoOrInvalidLocationHeader
ParseSessionUrl(ParseError)
ParseRangesHeader
ResolveRange
NoMediaBody
NoUrl
SeekPosition(Error)
ParseRange(ParseRangeError)
Trait Implementations§
Source§impl Debug for ResumableUploadError
impl Debug for ResumableUploadError
Source§impl Display for ResumableUploadError
impl Display for ResumableUploadError
Source§impl Error for ResumableUploadError
impl Error for ResumableUploadError
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 ResumableUploadError
impl From<Error> for ResumableUploadError
Source§impl From<ParseError> for ResumableUploadError
impl From<ParseError> for ResumableUploadError
Source§fn from(value: ParseError) -> Self
fn from(value: ParseError) -> Self
Converts to this type from the input type.
Source§impl From<ParseRangeError> for ResumableUploadError
impl From<ParseRangeError> for ResumableUploadError
Source§fn from(value: ParseRangeError) -> Self
fn from(value: ParseRangeError) -> Self
Converts to this type from the input type.
Source§impl From<ResumableUploadError> for ApiCallError
impl From<ResumableUploadError> for ApiCallError
Source§fn from(value: ResumableUploadError) -> Self
fn from(value: ResumableUploadError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ResumableUploadError
impl !UnwindSafe for ResumableUploadError
impl Freeze for ResumableUploadError
impl Send for ResumableUploadError
impl Sync for ResumableUploadError
impl Unpin for ResumableUploadError
impl UnsafeUnpin for ResumableUploadError
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