pub enum ApiCallError {
SerializeBody(Error),
GetUrl(GetUrlError),
Call(CallError),
GetToken(GetTokenError),
NoHub,
MultipleMediaUploads,
ResumableUpload(ResumableUploadError),
}Variants§
SerializeBody(Error)
GetUrl(GetUrlError)
Call(CallError)
GetToken(GetTokenError)
NoHub
MultipleMediaUploads
ResumableUpload(ResumableUploadError)
Trait Implementations§
Source§impl Debug for ApiCallError
impl Debug for ApiCallError
Source§impl Display for ApiCallError
impl Display for ApiCallError
Source§impl Error for ApiCallError
impl Error for ApiCallError
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<ApiCallError> for ApiError
impl From<ApiCallError> for ApiError
Source§fn from(value: ApiCallError) -> Self
fn from(value: ApiCallError) -> Self
Converts to this type from the input type.
Source§impl From<CallError> for ApiCallError
impl From<CallError> for ApiCallError
Source§impl From<Error> for ApiCallError
impl From<Error> for ApiCallError
Source§impl From<GetTokenError> for ApiCallError
impl From<GetTokenError> for ApiCallError
Source§fn from(value: GetTokenError) -> Self
fn from(value: GetTokenError) -> Self
Converts to this type from the input type.
Source§impl From<GetUrlError> for ApiCallError
impl From<GetUrlError> for ApiCallError
Source§fn from(value: GetUrlError) -> Self
fn from(value: GetUrlError) -> 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 ApiCallError
impl !UnwindSafe for ApiCallError
impl Freeze for ApiCallError
impl Send for ApiCallError
impl Sync for ApiCallError
impl Unpin for ApiCallError
impl UnsafeUnpin for ApiCallError
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