pub enum GetDocumentationVersionError {
NotFound(String),
TooManyRequests(String),
Unauthorized(String),
}Expand description
Errors returned by GetDocumentationVersion
Variants§
NotFound(String)
The requested resource is not found. Make sure that the request URI is correct.
TooManyRequests(String)
The request has reached its throttling limit. Retry after the specified time period.
The request is denied because the caller has insufficient permissions.
Implementations§
Trait Implementations§
Source§impl Debug for GetDocumentationVersionError
impl Debug for GetDocumentationVersionError
Source§impl Error for GetDocumentationVersionError
impl Error for GetDocumentationVersionError
1.30.0 · 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 PartialEq for GetDocumentationVersionError
impl PartialEq for GetDocumentationVersionError
Source§fn eq(&self, other: &GetDocumentationVersionError) -> bool
fn eq(&self, other: &GetDocumentationVersionError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GetDocumentationVersionError
Auto Trait Implementations§
impl Freeze for GetDocumentationVersionError
impl RefUnwindSafe for GetDocumentationVersionError
impl Send for GetDocumentationVersionError
impl Sync for GetDocumentationVersionError
impl Unpin for GetDocumentationVersionError
impl UnwindSafe for GetDocumentationVersionError
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